Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.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.00136/0.00136, allocations: 82.48 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001464/0.001464, allocations: 172 kB / 22.46 MB, free: 5.359 MB / 14.72 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.439/1.439, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 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-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 1.196/1.196, allocations: 154.6 MB / 413.8 MB, free: 5.234 MB / 382.1 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.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.6186 GB, free: 4.559 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.893e-05/3.038e-05, allocations: 2.281 kB / 0.6186 GB, free: 4.555 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.5737/0.5737, allocations: 171.7 MB / 0.7863 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01223/0.586, allocations: 6.613 MB / 0.7927 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001587/0.5875, allocations: 64.62 kB / 0.7928 GB, free: 9.977 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001858/0.5894, allocations: 0.6978 MB / 0.7935 GB, free: 9.387 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.006703/0.5961, allocations: 2.474 MB / 0.7959 GB, free: 7.512 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004011/0.6001, allocations: 1.601 MB / 0.7974 GB, free: 6.324 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00419/0.6043, allocations: 3.005 MB / 0.8004 GB, free: 4.527 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001263/0.6056, allocations: 0.7145 MB / 0.8011 GB, free: 4.016 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004219/0.6098, allocations: 1.963 MB / 0.803 GB, free: 2.758 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001264/0.6111, allocations: 0.7176 MB / 0.8037 GB, free: 2.371 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001459/0.6112, allocations: 99.06 kB / 0.8038 GB, free: 2.371 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003323/0.6145, allocations: 1.685 MB / 0.8054 GB, free: 1.457 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004072/0.6149, allocations: 396 kB / 0.8058 GB, free: 1.176 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005096/0.6154, allocations: 395.9 kB / 0.8062 GB, free: 0.9727 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003377/0.6188, allocations: 2.446 MB / 0.8086 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.6188, allocations: 0 / 0.8086 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.082e-06/0.6188, allocations: 0 / 0.8086 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.05e-05/0.6188, allocations: 4 kB / 0.8086 GB, free: 15.39 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.003449/0.6223, allocations: 1.583 MB / 0.8101 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.6223, allocations: 10.22 kB / 0.8101 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002987/0.6253, allocations: 0.5377 MB / 0.8107 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002275/0.6276, allocations: 0.9785 MB / 0.8116 GB, free: 13.22 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.799e-05/0.6276, allocations: 56.72 kB / 0.8117 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001239/0.6278, allocations: 65.34 kB / 0.8117 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00256/0.6303, allocations: 1.243 MB / 0.813 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.46e-05/0.6304, allocations: 3.984 kB / 0.813 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.21e-05/0.6304, allocations: 25.16 kB / 0.813 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.694e-05/0.6305, allocations: 32.17 kB / 0.813 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00314/0.6336, allocations: 1.195 MB / 0.8142 GB, free: 11.73 MB / 0.6544 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005547/0.6392, allocations: 2.706 MB / 0.8168 GB, free: 9.688 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001847/0.641, allocations: 0.6819 MB / 0.8175 GB, free: 8.992 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008865/0.6419, allocations: 423.8 kB / 0.8179 GB, free: 8.566 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004878/0.6424, allocations: 128.4 kB / 0.818 GB, free: 8.441 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00121/0.6436, allocations: 0.6477 MB / 0.8186 GB, free: 7.738 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=57): time 2.354e-06/0.6436, allocations: 0 / 0.8186 GB, free: 7.738 MB / 0.6544 GB Notification: Performance of matching and sorting (n=57): time 0.003301/0.6469, allocations: 1.261 MB / 0.8199 GB, free: 6.457 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/0.647, allocations: 148.8 kB / 0.82 GB, free: 6.281 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001606/0.6486, allocations: 0.88 MB / 0.8209 GB, free: 5.395 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.664e-05/0.6487, allocations: 37.7 kB / 0.8209 GB, free: 5.352 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000422/0.6491, allocations: 464.5 kB / 0.8214 GB, free: 4.891 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001951/0.6493, allocations: 198.3 kB / 0.8215 GB, free: 4.695 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002905/0.6496, allocations: 142.2 kB / 0.8217 GB, free: 4.551 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.6498, allocations: 333.9 kB / 0.822 GB, free: 4.219 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001327/0.6511, allocations: 474.7 kB / 0.8225 GB, free: 3.746 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001735/0.6528, allocations: 0.9785 MB / 0.8234 GB, free: 2.633 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002245/0.6551, allocations: 0.9295 MB / 0.8243 GB, free: 1.648 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.6551, allocations: 4 kB / 0.8243 GB, free: 1.645 MB / 0.6544 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003297/0.6584, allocations: 1.219 MB / 0.8255 GB, free: 416 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.425e-05/0.6584, allocations: 41.69 kB / 0.8256 GB, free: 368 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.6584, allocations: 4.281 kB / 0.8256 GB, free: 364 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.325e-05/0.6585, allocations: 8 kB / 0.8256 GB, free: 356 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000975/0.6594, allocations: 187.7 kB / 0.8257 GB, free: 168 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.346e-05/0.6595, allocations: 6.891 kB / 0.8257 GB, free: 164 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001435/0.6609, allocations: 223.3 kB / 0.826 GB, free: 15.94 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/0.661, allocations: 35.98 kB / 0.826 GB, free: 15.91 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 7 (QSen_flow.nextEventScaled,QSen_flow.nextEvent,$PRE.QSen_flow.nextEvent,QSen_flow.last,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006012/0.6616, allocations: 328.3 kB / 0.8263 GB, free: 15.57 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001798/0.6618, allocations: 95.38 kB / 0.8264 GB, free: 15.48 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002261/0.664, allocations: 1.023 MB / 0.8274 GB, free: 14.44 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-05/0.6641, allocations: 8 kB / 0.8274 GB, free: 14.43 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-06/0.6641, allocations: 4 kB / 0.8274 GB, free: 14.43 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/0.6641, allocations: 3.984 kB / 0.8274 GB, free: 14.43 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005221/0.6693, allocations: 2.922 MB / 0.8303 GB, free: 11.36 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-05/0.6693, allocations: 12.03 kB / 0.8303 GB, free: 11.34 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006107/0.6699, allocations: 115.8 kB / 0.8304 GB, free: 11.23 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-05/0.6699, allocations: 12 kB / 0.8304 GB, free: 11.22 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.176e-05/0.67, allocations: 23.92 kB / 0.8304 GB, free: 11.2 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.378e-05/0.67, allocations: 19.92 kB / 0.8304 GB, free: 11.18 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.059e-05/0.67, allocations: 15.94 kB / 0.8305 GB, free: 11.16 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002417/0.6724, allocations: 1.349 MB / 0.8318 GB, free: 9.691 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004931/0.6729, allocations: 219.1 kB / 0.832 GB, free: 9.477 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001586/0.6731, allocations: 23.92 kB / 0.832 GB, free: 9.453 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001058/0.6741, allocations: 103.9 kB / 0.8321 GB, free: 9.352 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/0.6743, allocations: 55.8 kB / 0.8322 GB, free: 9.297 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.23e-05/0.6743, allocations: 43.97 kB / 0.8322 GB, free: 9.254 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001264/0.6756, allocations: 0.6395 MB / 0.8328 GB, free: 8.621 MB / 0.67 GB Notification: Performance of sort global known variables: time 8e-08/0.6756, allocations: 0 / 0.8328 GB, free: 8.621 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.00115/0.6768, allocations: 331.2 kB / 0.8331 GB, free: 8.297 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006815/0.6774, allocations: 347.6 kB / 0.8335 GB, free: 7.949 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002564/0.68, allocations: 1.036 MB / 0.8345 GB, free: 6.887 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.68, allocations: 0 / 0.8345 GB, free: 6.887 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.00103/0.681, allocations: 0.5064 MB / 0.835 GB, free: 6.363 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00209/0.6831, allocations: 399.6 kB / 0.8354 GB, free: 6 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003766/0.6869, allocations: 2.016 MB / 0.8373 GB, free: 3.844 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000535/0.6874, allocations: 477.6 kB / 0.8378 GB, free: 3.348 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0007944/0.6882, allocations: 237.4 kB / 0.838 GB, free: 3.117 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002614/0.6885, allocations: 72.47 kB / 0.8381 GB, free: 3.043 MB / 0.67 GB Notification: Performance of SimCode: time 6.01e-07/0.6885, allocations: 0 / 0.8381 GB, free: 3.043 MB / 0.67 GB Notification: Performance of Templates: time 0.03138/0.7199, allocations: 17.84 MB / 0.8555 GB, free: 1.562 MB / 0.6856 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.93832403793931] Failed to read output from testmodel.py, exit status != 0: 0.7291419021785259 0.744183001 0.12179254900000001 Calling exit ...