Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.0008154/0.0008154, 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.001017/0.001017, allocations: 208.1 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.9382/0.9382, allocations: 230.6 MB / 256 MB, free: 9.617 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.7806/0.7806, allocations: 203.5 MB / 0.5039 GB, free: 10.72 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_R,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",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.0009521/0.0009521, allocations: 68.41 kB / 0.7178 GB, free: 4.453 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5118/0.5127, allocations: 102 MB / 0.8174 GB, free: 1.266 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.006791/0.5195, allocations: 6.549 MB / 0.8238 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.005312/0.5248, allocations: 3.061 MB / 0.8268 GB, free: 11.13 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006096/0.5255, allocations: 40.38 kB / 0.8268 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001742/0.5272, allocations: 0.9556 MB / 0.8277 GB, free: 10.56 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001438/0.5286, allocations: 0.5191 MB / 0.8283 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001079/0.5297, allocations: 456.2 kB / 0.8287 GB, free: 10.03 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001255/0.531, allocations: 1.223 MB / 0.8299 GB, free: 9.473 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007564/0.5317, allocations: 0.5281 MB / 0.8304 GB, free: 9.23 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008/0.5325, allocations: 0.4965 MB / 0.8309 GB, free: 9.016 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008938/0.5334, allocations: 0.5116 MB / 0.8314 GB, free: 8.828 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001264/0.5335, allocations: 67.19 kB / 0.8314 GB, free: 8.828 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007755/0.5343, allocations: 343 kB / 0.8318 GB, free: 8.73 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0003532/0.5347, allocations: 317.7 kB / 0.8321 GB, free: 8.594 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.00074/0.5354, allocations: 380.6 kB / 0.8324 GB, free: 8.402 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001737/0.5372, allocations: 1.235 MB / 0.8336 GB, free: 7.973 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.5372, allocations: 0 / 0.8336 GB, free: 7.973 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.126e-06/0.5372, allocations: 1.156 kB / 0.8336 GB, free: 7.973 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.538e-05/0.5372, allocations: 0 / 0.8336 GB, free: 7.973 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.00183/0.539, allocations: 1.122 MB / 0.8347 GB, free: 7.238 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.488e-05/0.5391, allocations: 9.531 kB / 0.8348 GB, free: 7.238 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001339/0.5392, allocations: 119.9 kB / 0.8349 GB, free: 7.156 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001088/0.5403, allocations: 247.8 kB / 0.8351 GB, free: 7.094 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007981/0.5411, allocations: 0.5385 MB / 0.8356 GB, free: 6.758 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.819e-05/0.5411, allocations: 46.89 kB / 0.8357 GB, free: 6.734 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/0.5412, allocations: 69.91 kB / 0.8357 GB, free: 6.707 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001492/0.5427, allocations: 1.335 MB / 0.837 GB, free: 5.781 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.913e-05/0.5428, allocations: 6.156 kB / 0.8371 GB, free: 5.777 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.61e-05/0.5428, allocations: 38.34 kB / 0.8371 GB, free: 5.75 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001483/0.543, allocations: 88.67 kB / 0.8372 GB, free: 5.738 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001012/0.544, allocations: 0.7471 MB / 0.8379 GB, free: 5.473 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004021/0.548, allocations: 4.623 MB / 0.8424 GB, free: 1.578 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007556/0.5487, allocations: 0.5204 MB / 0.8429 GB, free: 1.297 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003135/0.5491, allocations: 283.3 kB / 0.8432 GB, free: 1.156 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.631e-05/0.5491, allocations: 5.562 kB / 0.8432 GB, free: 1.156 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/0.5491, allocations: 38.72 kB / 0.8432 GB, free: 1.113 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=47): time 1.903e-06/0.5491, allocations: 3.938 kB / 0.8432 GB, free: 1.109 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48): time 0.002952/0.5521, allocations: 1.687 MB / 0.8449 GB, free: 188 kB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.205e-05/0.5521, allocations: 61.12 kB / 0.8449 GB, free: 120 kB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005702/0.5527, allocations: 0.5805 MB / 0.8455 GB, free: 15.76 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.147e-05/0.5527, allocations: 36.58 kB / 0.8455 GB, free: 15.72 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002001/0.5529, allocations: 421.7 kB / 0.8459 GB, free: 15.35 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/0.553, allocations: 181.2 kB / 0.8461 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001411/0.5532, allocations: 123.6 kB / 0.8462 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.5533, allocations: 382 kB / 0.8466 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003016/0.5536, allocations: 273.7 kB / 0.8469 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003768/0.554, allocations: 496.3 kB / 0.8473 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006976/0.5547, allocations: 0.8069 MB / 0.8481 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.5547, allocations: 2.75 kB / 0.8481 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00122/0.5559, allocations: 1.085 MB / 0.8492 GB, free: 13.02 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.5559, allocations: 7.438 kB / 0.8492 GB, free: 13.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.5559, allocations: 15.84 kB / 0.8492 GB, free: 13.01 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000524/0.5564, allocations: 276.7 kB / 0.8495 GB, free: 12.87 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002827/0.5567, allocations: 124.8 kB / 0.8496 GB, free: 12.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004515/0.5612, allocations: 6.688 MB / 0.8561 GB, free: 6.746 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004879/0.5617, allocations: 34.31 kB / 0.8562 GB, free: 6.73 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.48e-05/0.5618, allocations: 31.19 kB / 0.8562 GB, free: 6.723 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 (67): * Single equations (assignments): 63 * 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 {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003461/0.5621, allocations: 255.4 kB / 0.8564 GB, free: 6.52 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.814e-05/0.5622, allocations: 76.41 kB / 0.8565 GB, free: 6.48 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001019/0.5632, allocations: 0.8761 MB / 0.8574 GB, free: 5.941 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.5632, allocations: 5.344 kB / 0.8574 GB, free: 5.941 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.5632, allocations: 3.844 kB / 0.8574 GB, free: 5.941 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.5632, allocations: 3.984 kB / 0.8574 GB, free: 5.938 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001878/0.5651, allocations: 1.61 MB / 0.8589 GB, free: 4.883 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.052e-06/0.5651, allocations: 10.67 kB / 0.859 GB, free: 4.875 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001581/0.5653, allocations: 62.86 kB / 0.859 GB, free: 4.855 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000463/0.5657, allocations: 266.8 kB / 0.8593 GB, free: 4.711 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.693e-05/0.5658, allocations: 11.12 kB / 0.8593 GB, free: 4.703 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004511/0.5703, allocations: 6.669 MB / 0.8658 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.5703, allocations: 5.75 kB / 0.8658 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001108/0.5714, allocations: 0.9792 MB / 0.8668 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002448/0.5716, allocations: 120.7 kB / 0.8669 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.481e-05/0.5717, allocations: 12 kB / 0.8669 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000209/0.5719, allocations: 32.56 kB / 0.8669 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.862e-05/0.572, allocations: 38.95 kB / 0.8669 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.45e-05/0.572, allocations: 23.39 kB / 0.867 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003447/0.5723, allocations: 389 kB / 0.8673 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.71e-07/0.5723, allocations: 0 / 0.8673 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007275/0.5731, allocations: 224.3 kB / 0.8676 GB, free: 13.6 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 (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001365/0.5744, allocations: 1.538 MB / 0.8691 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001574/0.576, allocations: 1.224 MB / 0.8703 GB, free: 11.58 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.576, allocations: 1.156 kB / 0.8703 GB, free: 11.58 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0007482/0.5768, allocations: 0.87 MB / 0.8711 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007771/0.5775, allocations: 224.9 kB / 0.8713 GB, free: 10.77 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007174/0.5847, allocations: 6.399 MB / 0.8776 GB, free: 6.238 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003319/0.585, allocations: 416.8 kB / 0.878 GB, free: 5.805 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003412/0.5854, allocations: 122 kB / 0.8781 GB, free: 5.684 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002092/0.5856, allocations: 255.4 kB / 0.8783 GB, free: 5.434 MB / 0.6511 GB Notification: Performance of SimCode: time 1.433e-06/0.5856, allocations: 0 / 0.8783 GB, free: 5.434 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03802/0.6236, allocations: 19.34 MB / 0.8972 GB, free: 2.508 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.254/7.877, allocations: 7.219 kB / 0.8972 GB, free: 2.504 MB / 0.6667 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.786618656013161] Failed to read output from testmodel.py, exit status != 0: 7.965913717634976 7.974248923 7.435115998 Calling exit ...