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.002367/0.002367, allocations: 85.48 kB / 19.44 MB, free: 344 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.002494/0.002494, allocations: 173.2 kB / 22.76 MB, free: 1.664 MB / 18.57 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 1.637/1.637, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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-545:108: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-545:116: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 1.325/1.325, allocations: 154.6 MB / 414.1 MB, free: 0.6562 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 178] 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: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0.9844 kB / 0.5196 GB, free: 2.543 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.871e-05/3.007e-05, allocations: 2.312 kB / 0.5196 GB, free: 2.539 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.0102/0.01023, allocations: 6.779 MB / 0.5262 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.005956/0.01619, allocations: 3.095 MB / 0.5293 GB, free: 8.664 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003533/0.01654, allocations: 40.62 kB / 0.5293 GB, free: 8.625 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.002732/0.01927, allocations: 0.9807 MB / 0.5303 GB, free: 7.645 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.001187/0.02046, allocations: 0.5395 MB / 0.5308 GB, free: 7.105 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001026/0.02148, allocations: 425.7 kB / 0.5312 GB, free: 6.691 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001522/0.02301, allocations: 1.267 MB / 0.5324 GB, free: 5.418 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000858/0.02386, allocations: 0.5311 MB / 0.5329 GB, free: 4.891 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009334/0.0248, allocations: 0.6585 MB / 0.5336 GB, free: 4.23 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007784/0.02558, allocations: 482.7 kB / 0.5341 GB, free: 3.758 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001358/0.02571, allocations: 70.75 kB / 0.5341 GB, free: 3.691 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006686/0.02638, allocations: 351.1 kB / 0.5345 GB, free: 3.348 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0004009/0.02678, allocations: 335 kB / 0.5348 GB, free: 3.02 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004274/0.02721, allocations: 311.3 kB / 0.5351 GB, free: 2.715 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001623/0.02883, allocations: 1.25 MB / 0.5363 GB, free: 1.461 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.02884, allocations: 0 / 0.5363 GB, free: 1.461 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.492e-06/0.02884, allocations: 0 / 0.5363 GB, free: 1.461 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.277e-05/0.02885, allocations: 0 / 0.5363 GB, free: 1.461 MB / 0.4948 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.002453/0.0313, allocations: 1.262 MB / 0.5375 GB, free: 168 kB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.03134, allocations: 14.44 kB / 0.5375 GB, free: 156 kB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001701/0.03304, allocations: 335.8 kB / 0.5379 GB, free: 15.82 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001086/0.03413, allocations: 0.5368 MB / 0.5384 GB, free: 15.27 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.329e-05/0.03418, allocations: 53.67 kB / 0.5384 GB, free: 15.21 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001225/0.03431, allocations: 69.36 kB / 0.5385 GB, free: 15.15 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001625/0.03593, allocations: 1.15 MB / 0.5396 GB, free: 13.79 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.93e-05/0.03596, allocations: 8.188 kB / 0.5396 GB, free: 13.78 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.228e-05/0.03604, allocations: 33.14 kB / 0.5397 GB, free: 13.75 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001701/0.03621, allocations: 89.12 kB / 0.5397 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008901/0.0371, allocations: 422.9 kB / 0.5402 GB, free: 13.25 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006521/0.04362, allocations: 5.907 MB / 0.5459 GB, free: 7.145 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008375/0.04446, allocations: 317.7 kB / 0.5462 GB, free: 6.82 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000311/0.04477, allocations: 151.5 kB / 0.5464 GB, free: 6.672 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 4.739e-05/0.04482, allocations: 12.48 kB / 0.5464 GB, free: 6.66 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.663e-05/0.04487, allocations: 52.28 kB / 0.5464 GB, free: 6.602 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=47): time 1.994e-06/0.04487, allocations: 0 / 0.5464 GB, free: 6.602 MB / 0.5105 GB Notification: Performance of matching and sorting (n=48): time 0.003461/0.04833, allocations: 1.139 MB / 0.5475 GB, free: 5.453 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.341e-05/0.04838, allocations: 59.91 kB / 0.5476 GB, free: 5.383 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007522/0.04914, allocations: 0.6243 MB / 0.5482 GB, free: 4.746 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.983e-05/0.04919, allocations: 37.7 kB / 0.5482 GB, free: 4.703 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004118/0.0496, allocations: 498.6 kB / 0.5487 GB, free: 4.211 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001815/0.04978, allocations: 187.6 kB / 0.5489 GB, free: 4.027 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002423/0.05002, allocations: 136.2 kB / 0.549 GB, free: 3.887 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003418/0.05036, allocations: 0.5665 MB / 0.5496 GB, free: 3.309 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003177/0.05068, allocations: 156.4 kB / 0.5497 GB, free: 3.156 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000597/0.05128, allocations: 464.7 kB / 0.5502 GB, free: 2.574 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001207/0.05248, allocations: 0.6481 MB / 0.5508 GB, free: 1.801 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-06/0.05249, allocations: 4.969 kB / 0.5508 GB, free: 1.797 MB / 0.5105 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001714/0.0542, allocations: 0.814 MB / 0.5516 GB, free: 0.9648 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.05423, allocations: 9 kB / 0.5516 GB, free: 0.957 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/0.05424, allocations: 8 kB / 0.5516 GB, free: 0.9492 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001503/0.05574, allocations: 324.9 kB / 0.5519 GB, free: 0.6289 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005076/0.05625, allocations: 127.7 kB / 0.5521 GB, free: 0.5039 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008099/0.06435, allocations: 7.773 MB / 0.5596 GB, free: 8.246 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005814/0.06493, allocations: 47.89 kB / 0.5597 GB, free: 8.199 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-05/0.06499, allocations: 28.73 kB / 0.5597 GB, free: 8.172 MB / 0.5261 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.0003374/0.06532, allocations: 226.4 kB / 0.5599 GB, free: 7.941 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001516/0.06548, allocations: 87.77 kB / 0.56 GB, free: 7.855 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001446/0.06692, allocations: 0.5858 MB / 0.5606 GB, free: 7.234 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.06693, allocations: 4.5 kB / 0.5606 GB, free: 7.23 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.06693, allocations: 9.844 kB / 0.5606 GB, free: 7.223 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/0.06694, allocations: 3.984 kB / 0.5606 GB, free: 7.219 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002541/0.06948, allocations: 1.306 MB / 0.5619 GB, free: 5.832 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.06949, allocations: 0 / 0.5619 GB, free: 5.832 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002818/0.06977, allocations: 64.89 kB / 0.5619 GB, free: 5.77 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001373/0.07114, allocations: 314.4 kB / 0.5622 GB, free: 5.457 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.776e-05/0.07118, allocations: 12 kB / 0.5623 GB, free: 5.445 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007953/0.07913, allocations: 7.785 MB / 0.5699 GB, free: 13.18 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/0.07914, allocations: 0 / 0.5699 GB, free: 13.18 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001742/0.08088, allocations: 0.7807 MB / 0.5706 GB, free: 12.34 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004079/0.08129, allocations: 112.1 kB / 0.5707 GB, free: 12.23 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.767e-05/0.08136, allocations: 8 kB / 0.5707 GB, free: 12.23 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003884/0.08175, allocations: 29.53 kB / 0.5708 GB, free: 12.2 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000161/0.08191, allocations: 59.78 kB / 0.5708 GB, free: 12.14 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.849e-05/0.08195, allocations: 16 kB / 0.5708 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0007633/0.08272, allocations: 395.4 kB / 0.5712 GB, free: 11.74 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.01e-07/0.08272, allocations: 3.938 kB / 0.5712 GB, free: 11.74 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0008717/0.08359, allocations: 228.5 kB / 0.5714 GB, free: 11.52 MB / 0.5417 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.0001737/0.08376, allocations: 110.9 kB / 0.5715 GB, free: 11.4 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002167/0.08593, allocations: 1.248 MB / 0.5728 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.08593, allocations: 4 kB / 0.5728 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.00149/0.08743, allocations: 1.004 MB / 0.5737 GB, free: 9.012 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001027/0.08845, allocations: 197.6 kB / 0.5739 GB, free: 8.836 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002343/0.09079, allocations: 1.281 MB / 0.5752 GB, free: 7.496 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004958/0.09129, allocations: 399.5 kB / 0.5756 GB, free: 7.086 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003353/0.09163, allocations: 101.6 kB / 0.5757 GB, free: 7 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001169/0.09174, allocations: 40.5 kB / 0.5757 GB, free: 6.961 MB / 0.5417 GB Notification: Performance of SimCode: time 9.72e-07/0.09174, allocations: 0 / 0.5757 GB, free: 6.961 MB / 0.5417 GB Notification: Performance of Templates: time 0.02222/0.114, allocations: 11.41 MB / 0.5868 GB, free: 11.84 MB / 0.5573 GB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.577653118991293]