Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008496/0.0008496, allocations: 105.5 kB / 18.95 MB, free: 1.188 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 208.6 kB / 22.25 MB, free: 3.59 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9782/0.9782, allocations: 230.6 MB / 256 MB, free: 9.602 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7905/0.7905, allocations: 203.5 MB / 0.5039 GB, free: 10.75 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001006/0.001006, allocations: 67.28 kB / 0.7178 GB, free: 4.43 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4998/0.5008, allocations: 102 MB / 0.8174 GB, free: 1.262 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.005606/0.5064, allocations: 5.977 MB / 0.8232 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004146/0.5106, allocations: 3.16 MB / 0.8263 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003801/0.511, allocations: 46.12 kB / 0.8263 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001386/0.5123, allocations: 0.9372 MB / 0.8273 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0009422/0.5133, allocations: 491.8 kB / 0.8277 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001024/0.5143, allocations: 0.503 MB / 0.8282 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.00106/0.5154, allocations: 1.097 MB / 0.8293 GB, free: 9.867 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006786/0.516, allocations: 0.5016 MB / 0.8298 GB, free: 9.637 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006064/0.5167, allocations: 468.6 kB / 0.8302 GB, free: 9.438 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006461/0.5173, allocations: 473.8 kB / 0.8307 GB, free: 9.262 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001141/0.5174, allocations: 58.03 kB / 0.8307 GB, free: 9.262 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008468/0.5183, allocations: 442 kB / 0.8312 GB, free: 9.121 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002898/0.5185, allocations: 291.1 kB / 0.8314 GB, free: 9.004 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002998/0.5188, allocations: 329.2 kB / 0.8318 GB, free: 8.836 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001254/0.5201, allocations: 1.198 MB / 0.8329 GB, free: 8.418 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.5201, allocations: 0 / 0.8329 GB, free: 8.418 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.734e-06/0.5201, allocations: 5.062 kB / 0.8329 GB, free: 8.414 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.563e-05/0.5201, allocations: 0 / 0.8329 GB, free: 8.414 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001374/0.5215, allocations: 1.004 MB / 0.8339 GB, free: 7.715 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.5215, allocations: 9.5 kB / 0.8339 GB, free: 7.715 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001153/0.5217, allocations: 117.1 kB / 0.834 GB, free: 7.633 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009643/0.5226, allocations: 228.4 kB / 0.8342 GB, free: 7.574 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006871/0.5233, allocations: 0.5281 MB / 0.8348 GB, free: 7.246 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.482e-05/0.5233, allocations: 47.61 kB / 0.8348 GB, free: 7.223 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.354e-05/0.5234, allocations: 60.86 kB / 0.8349 GB, free: 7.203 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001151/0.5246, allocations: 1.131 MB / 0.836 GB, free: 6.484 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.876e-05/0.5246, allocations: 15.97 kB / 0.836 GB, free: 6.473 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.508e-05/0.5247, allocations: 27.8 kB / 0.836 GB, free: 6.453 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.616e-05/0.5247, allocations: 69.72 kB / 0.8361 GB, free: 6.445 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000826/0.5256, allocations: 0.6925 MB / 0.8368 GB, free: 6.199 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00329/0.5288, allocations: 4.517 MB / 0.8412 GB, free: 2.434 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005611/0.5294, allocations: 413.4 kB / 0.8416 GB, free: 2.211 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005062/0.5299, allocations: 383.7 kB / 0.8419 GB, free: 2.039 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.77e-05/0.5299, allocations: 5.5 kB / 0.8419 GB, free: 2.039 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.53, allocations: 41.25 kB / 0.842 GB, free: 1.992 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=41): time 3.507e-06/0.53, allocations: 0 / 0.842 GB, free: 1.992 MB / 0.6198 GB Notification: Performance of matching and sorting (n=42): time 0.002674/0.5326, allocations: 1.714 MB / 0.8436 GB, free: 1.047 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.314e-05/0.5327, allocations: 55.59 kB / 0.8437 GB, free: 0.9844 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003964/0.5331, allocations: 475.8 kB / 0.8441 GB, free: 0.6914 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.998e-05/0.5331, allocations: 36.23 kB / 0.8442 GB, free: 0.6523 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001981/0.5333, allocations: 395.3 kB / 0.8446 GB, free: 312 kB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.576e-05/0.5334, allocations: 158.3 kB / 0.8447 GB, free: 172 kB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001177/0.5335, allocations: 112.5 kB / 0.8448 GB, free: 100 kB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.5336, allocations: 360.3 kB / 0.8452 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002519/0.5339, allocations: 242.6 kB / 0.8454 GB, free: 15.63 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003465/0.5342, allocations: 455.2 kB / 0.8458 GB, free: 15.24 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006509/0.5349, allocations: 0.75 MB / 0.8466 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.5349, allocations: 2.25 kB / 0.8466 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001326/0.5362, allocations: 1.033 MB / 0.8476 GB, free: 14.11 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.5362, allocations: 12.31 kB / 0.8476 GB, free: 14.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.702e-05/0.5363, allocations: 11.31 kB / 0.8476 GB, free: 14.1 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005698/0.5368, allocations: 319.8 kB / 0.8479 GB, free: 13.93 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001868/0.537, allocations: 96.95 kB / 0.848 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004685/0.5417, allocations: 7.022 MB / 0.8548 GB, free: 7.633 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003563/0.5421, allocations: 26.14 kB / 0.8549 GB, free: 7.621 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.748e-05/0.5421, allocations: 26.06 kB / 0.8549 GB, free: 7.617 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003563/0.5425, allocations: 241.2 kB / 0.8551 GB, free: 7.426 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.647e-05/0.5425, allocations: 72.58 kB / 0.8552 GB, free: 7.383 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001172/0.5437, allocations: 0.8825 MB / 0.8561 GB, free: 6.84 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.5437, allocations: 8.156 kB / 0.8561 GB, free: 6.836 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.5437, allocations: 8.125 kB / 0.8561 GB, free: 6.832 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.5437, allocations: 0 / 0.8561 GB, free: 6.832 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001747/0.5455, allocations: 1.579 MB / 0.8576 GB, free: 5.793 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.5455, allocations: 2.406 kB / 0.8576 GB, free: 5.793 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.866e-05/0.5456, allocations: 37.88 kB / 0.8577 GB, free: 5.785 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005195/0.5461, allocations: 315.9 kB / 0.858 GB, free: 5.613 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.224e-05/0.5461, allocations: 6.906 kB / 0.858 GB, free: 5.609 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004384/0.5505, allocations: 7.017 MB / 0.8648 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.658e-06/0.5505, allocations: 15.09 kB / 0.8648 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001095/0.5516, allocations: 0.9743 MB / 0.8658 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001803/0.5518, allocations: 99.92 kB / 0.8659 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.622e-05/0.5518, allocations: 15.81 kB / 0.8659 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001487/0.552, allocations: 26.16 kB / 0.8659 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.184e-05/0.552, allocations: 42.88 kB / 0.866 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.737e-05/0.5521, allocations: 9.156 kB / 0.866 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002645/0.5523, allocations: 316.2 kB / 0.8663 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of sort global known variables: time 9e-08/0.5523, allocations: 0 / 0.8663 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006547/0.553, allocations: 194 kB / 0.8665 GB, free: 14.36 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001198/0.5542, allocations: 1.536 MB / 0.868 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001252/0.5554, allocations: 1.154 MB / 0.8691 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.5554, allocations: 1.156 kB / 0.8691 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0007342/0.5562, allocations: 0.8276 MB / 0.8699 GB, free: 11.69 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006715/0.5568, allocations: 207.4 kB / 0.8701 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005995/0.5628, allocations: 5.877 MB / 0.8758 GB, free: 7.516 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003429/0.5632, allocations: 400.6 kB / 0.8762 GB, free: 7.277 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002653/0.5634, allocations: 98.7 kB / 0.8763 GB, free: 7.23 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001933/0.5636, allocations: 230.7 kB / 0.8765 GB, free: 7.035 MB / 0.6511 GB Notification: Performance of SimCode: time 1.343e-06/0.5636, allocations: 3.938 kB / 0.8765 GB, free: 7.031 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03619/0.5998, allocations: 16.95 MB / 0.8931 GB, free: 6.676 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.036/7.636, allocations: 3.047 kB / 0.8931 GB, free: 6.676 MB / 0.6667 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.fmu > IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.620052068959922] Failed to read output from testmodel.py, exit status != 0: 7.723078214097768 7.731955999 7.210042366 Calling exit ...