Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.OnePhase.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.0007274/0.0007274, allocations: 100.4 kB / 19.71 MB, free: 444 kB / 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.0007957/0.0007957, allocations: 210.4 kB / 23 MB, free: 2.973 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.9066/0.9066, allocations: 230.6 MB / 256.8 MB, free: 9.594 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.7718/0.7718, allocations: 203.5 MB / 0.5046 GB, free: 10.67 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: translateModel(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") [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.0009314/0.0009314, allocations: 66.8 kB / 0.719 GB, free: 3.91 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5067/0.5076, allocations: 102 MB / 0.8186 GB, free: 1.508 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.00601/0.5136, allocations: 6.478 MB / 0.8249 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003567/0.5172, allocations: 3.039 MB / 0.8279 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002896/0.5175, allocations: 34.88 kB / 0.8279 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001272/0.5187, allocations: 0.953 MB / 0.8289 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0008116/0.5196, allocations: 0.523 MB / 0.8294 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007483/0.5203, allocations: 425.9 kB / 0.8298 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0009848/0.5213, allocations: 1.224 MB / 0.831 GB, free: 9.777 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006735/0.522, allocations: 0.5239 MB / 0.8315 GB, free: 9.539 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006974/0.5227, allocations: 0.4909 MB / 0.832 GB, free: 9.328 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005982/0.5233, allocations: 0.5159 MB / 0.8325 GB, free: 9.137 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.034e-05/0.5233, allocations: 71.03 kB / 0.8325 GB, free: 9.133 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004457/0.5238, allocations: 338.6 kB / 0.8329 GB, free: 9.039 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002581/0.524, allocations: 311 kB / 0.8332 GB, free: 8.91 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0003149/0.5244, allocations: 375.2 kB / 0.8335 GB, free: 8.723 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001132/0.5255, allocations: 1.229 MB / 0.8347 GB, free: 8.297 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.5255, allocations: 1.125 kB / 0.8347 GB, free: 8.297 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.673e-06/0.5255, allocations: 4.516 kB / 0.8347 GB, free: 8.293 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.138e-05/0.5255, allocations: 0 / 0.8347 GB, free: 8.293 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.0013/0.5268, allocations: 1.11 MB / 0.8358 GB, free: 7.566 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.5268, allocations: 13.38 kB / 0.8358 GB, free: 7.562 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009313/0.5278, allocations: 244.3 kB / 0.8361 GB, free: 7.504 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006552/0.5284, allocations: 0.5173 MB / 0.8366 GB, free: 7.18 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.456e-05/0.5285, allocations: 51.83 kB / 0.8366 GB, free: 7.156 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.757e-05/0.5285, allocations: 61.81 kB / 0.8367 GB, free: 7.137 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001208/0.5297, allocations: 1.346 MB / 0.838 GB, free: 6.203 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.179e-05/0.5298, allocations: 7.969 kB / 0.838 GB, free: 6.199 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.562e-05/0.5298, allocations: 24.47 kB / 0.838 GB, free: 6.184 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001115/0.5299, allocations: 88.45 kB / 0.8381 GB, free: 6.168 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008746/0.5308, allocations: 0.7534 MB / 0.8388 GB, free: 5.855 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003179/0.534, allocations: 4.527 MB / 0.8433 GB, free: 1.957 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006603/0.5346, allocations: 0.5102 MB / 0.8438 GB, free: 1.688 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002868/0.5349, allocations: 283.2 kB / 0.844 GB, free: 1.547 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.646e-05/0.535, allocations: 5.562 kB / 0.844 GB, free: 1.547 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.535, allocations: 45.88 kB / 0.8441 GB, free: 1.496 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=47): time 1.834e-06/0.535, allocations: 0 / 0.8441 GB, free: 1.496 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48): time 0.002242/0.5372, allocations: 1.683 MB / 0.8457 GB, free: 0.5703 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.044e-05/0.5373, allocations: 57.66 kB / 0.8458 GB, free: 0.5078 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003949/0.5376, allocations: 0.4995 MB / 0.8463 GB, free: 200 kB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.913e-05/0.5377, allocations: 32.61 kB / 0.8463 GB, free: 164 kB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001923/0.5379, allocations: 433.2 kB / 0.8467 GB, free: 15.78 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.253e-05/0.538, allocations: 181 kB / 0.8469 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001234/0.5381, allocations: 119.5 kB / 0.847 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.5382, allocations: 373.6 kB / 0.8473 GB, free: 15.19 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002886/0.5385, allocations: 279 kB / 0.8476 GB, free: 15.05 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003819/0.5389, allocations: 490.6 kB / 0.8481 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006726/0.5395, allocations: 0.8124 MB / 0.8489 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.5395, allocations: 2.656 kB / 0.8489 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00138/0.5409, allocations: 1.069 MB / 0.8499 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.5409, allocations: 16.97 kB / 0.8499 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/0.5409, allocations: 11.03 kB / 0.8499 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005019/0.5414, allocations: 285.2 kB / 0.8502 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002593/0.5417, allocations: 125 kB / 0.8503 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003835/0.5455, allocations: 6.593 MB / 0.8568 GB, free: 7.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002524/0.5458, allocations: 41.48 kB / 0.8568 GB, free: 7.297 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.431e-05/0.5458, allocations: 28.25 kB / 0.8568 GB, free: 7.293 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.0002151/0.546, allocations: 258 kB / 0.8571 GB, free: 7.086 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.05e-05/0.5461, allocations: 69.92 kB / 0.8572 GB, free: 7.051 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009319/0.547, allocations: 0.8733 MB / 0.858 GB, free: 6.516 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.5471, allocations: 5.375 kB / 0.858 GB, free: 6.516 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.5471, allocations: 2.844 kB / 0.858 GB, free: 6.516 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.5471, allocations: 5.484 kB / 0.858 GB, free: 6.512 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001801/0.5489, allocations: 1.521 MB / 0.8595 GB, free: 5.523 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.5489, allocations: 2.344 kB / 0.8595 GB, free: 5.523 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001333/0.549, allocations: 62.95 kB / 0.8596 GB, free: 5.504 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004103/0.5494, allocations: 271.2 kB / 0.8598 GB, free: 5.355 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.338e-05/0.5494, allocations: 12.09 kB / 0.8598 GB, free: 5.348 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003651/0.5531, allocations: 6.572 MB / 0.8663 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.5531, allocations: 9.312 kB / 0.8663 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009187/0.554, allocations: 0.9682 MB / 0.8672 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000154/0.5542, allocations: 115.2 kB / 0.8673 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.19e-05/0.5542, allocations: 24.14 kB / 0.8673 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000177/0.5544, allocations: 34.39 kB / 0.8674 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.82e-05/0.5544, allocations: 47.2 kB / 0.8674 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.033e-05/0.5545, allocations: 14.88 kB / 0.8674 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0005122/0.555, allocations: 344.5 kB / 0.8678 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5e-08/0.555, allocations: 1.156 kB / 0.8678 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005415/0.5555, allocations: 223.3 kB / 0.868 GB, free: 14.4 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.0001033/0.5556, allocations: 104.8 kB / 0.8681 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001188/0.5568, allocations: 1.232 MB / 0.8693 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.5568, allocations: 1.25 kB / 0.8693 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0006662/0.5575, allocations: 0.8669 MB / 0.8701 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005882/0.5581, allocations: 202.8 kB / 0.8703 GB, free: 12.67 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001491/0.5596, allocations: 1.414 MB / 0.8717 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002975/0.5599, allocations: 418.3 kB / 0.8721 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.56, allocations: 42.47 kB / 0.8721 GB, free: 11.51 MB / 0.6511 GB Notification: Performance of SimCode: time 5.01e-07/0.56, allocations: 0 / 0.8721 GB, free: 11.51 MB / 0.6511 GB Notification: Performance of Templates: time 0.01407/0.574, allocations: 20.69 MB / 0.8923 GB, free: 8.688 MB / 0.6667 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.815652257762849] Failed to read output from testmodel.py, exit status != 0: 0.5795784890651703 0.588453957 0.061340448000000006 Calling exit ...