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.0008476/0.0008476, allocations: 80.48 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001317/0.001317, allocations: 173.9 kB / 23.21 MB, free: 1.352 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 0.9274/0.9274, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.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.7034/0.7034, allocations: 154.6 MB / 414.5 MB, free: 0.8281 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 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.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.633e-06/1.633e-06, allocations: 0 / 0.6193 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.726e-05/2.889e-05, allocations: 5.688 kB / 0.6193 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.4924/0.4925, allocations: 171.7 MB / 0.787 GB, free: 9.18 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.009228/0.5017, allocations: 6.611 MB / 0.7935 GB, free: 4.66 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001506/0.5032, allocations: 67.03 kB / 0.7935 GB, free: 4.621 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.002175/0.5054, allocations: 0.6964 MB / 0.7942 GB, free: 4.188 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.00649/0.5119, allocations: 2.473 MB / 0.7966 GB, free: 2.848 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.002901/0.5148, allocations: 1.592 MB / 0.7982 GB, free: 2.043 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.002754/0.5175, allocations: 3.011 MB / 0.8011 GB, free: 0.6172 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00072/0.5182, allocations: 0.7174 MB / 0.8018 GB, free: 284 kB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002487/0.5207, allocations: 1.968 MB / 0.8037 GB, free: 15.38 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006769/0.5214, allocations: 0.7173 MB / 0.8044 GB, free: 15.15 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 9.403e-05/0.5215, allocations: 99.97 kB / 0.8045 GB, free: 15.15 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002558/0.524, allocations: 1.679 MB / 0.8062 GB, free: 14.56 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0002568/0.5243, allocations: 399.7 kB / 0.8066 GB, free: 14.33 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0003017/0.5246, allocations: 393.4 kB / 0.8069 GB, free: 14.13 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.002318/0.5269, allocations: 2.445 MB / 0.8093 GB, free: 12.56 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.0002969/0.5272, allocations: 3.984 kB / 0.8093 GB, free: 12.55 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5272, allocations: 0 / 0.8093 GB, free: 12.55 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.167e-05/0.5272, allocations: 0 / 0.8093 GB, free: 12.55 MB / 0.6667 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.00195/0.5292, allocations: 1.584 MB / 0.8109 GB, free: 11.35 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.5292, allocations: 7.625 kB / 0.8109 GB, free: 11.35 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001372/0.5306, allocations: 0.5416 MB / 0.8114 GB, free: 11.11 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0013/0.5319, allocations: 0.9709 MB / 0.8124 GB, free: 10.39 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.552e-05/0.5319, allocations: 61.19 kB / 0.8124 GB, free: 10.37 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.175e-05/0.532, allocations: 65.72 kB / 0.8125 GB, free: 10.35 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001423/0.5334, allocations: 1.232 MB / 0.8137 GB, free: 9.531 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.5334, allocations: 10.84 kB / 0.8137 GB, free: 9.523 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.857e-05/0.5335, allocations: 29.3 kB / 0.8137 GB, free: 9.5 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.172e-05/0.5335, allocations: 31.48 kB / 0.8137 GB, free: 9.496 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001679/0.5352, allocations: 1.192 MB / 0.8149 GB, free: 8.902 MB / 0.6667 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.003085/0.5383, allocations: 2.7 MB / 0.8176 GB, free: 6.934 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/0.5393, allocations: 0.6836 MB / 0.8182 GB, free: 6.555 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004748/0.5398, allocations: 421.9 kB / 0.8186 GB, free: 6.328 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002725/0.5401, allocations: 128.8 kB / 0.8187 GB, free: 6.285 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008563/0.5409, allocations: 0.6515 MB / 0.8194 GB, free: 5.781 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=57): time 1.714e-06/0.5409, allocations: 0 / 0.8194 GB, free: 5.781 MB / 0.6667 GB Notification: Performance of matching and sorting (n=57): time 0.001634/0.5426, allocations: 1.265 MB / 0.8206 GB, free: 5.113 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.511e-05/0.5426, allocations: 140.7 kB / 0.8207 GB, free: 4.953 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008199/0.5434, allocations: 0.8911 MB / 0.8216 GB, free: 4.457 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 4.765e-05/0.5435, allocations: 38.7 kB / 0.8217 GB, free: 4.418 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.000236/0.5437, allocations: 464.7 kB / 0.8221 GB, free: 4.012 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.000108/0.5438, allocations: 194.2 kB / 0.8223 GB, free: 3.844 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001618/0.544, allocations: 138.2 kB / 0.8224 GB, free: 3.766 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.312e-05/0.5441, allocations: 338 kB / 0.8227 GB, free: 3.438 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006347/0.5447, allocations: 472.2 kB / 0.8232 GB, free: 3.164 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008986/0.5456, allocations: 0.9823 MB / 0.8241 GB, free: 2.043 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001134/0.5467, allocations: 0.9288 MB / 0.8251 GB, free: 1.062 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.5467, allocations: 4 kB / 0.8251 GB, free: 1.059 MB / 0.6667 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001651/0.5484, allocations: 1.218 MB / 0.8262 GB, free: 15.82 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.246e-05/0.5484, allocations: 33.7 kB / 0.8263 GB, free: 15.78 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.5484, allocations: 4 kB / 0.8263 GB, free: 15.78 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.5485, allocations: 12.28 kB / 0.8263 GB, free: 15.77 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004541/0.5489, allocations: 183.7 kB / 0.8265 GB, free: 15.59 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.33e-05/0.5489, allocations: 11.98 kB / 0.8265 GB, free: 15.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006217/0.5495, allocations: 215.4 kB / 0.8267 GB, free: 15.36 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.119e-05/0.5496, allocations: 35.97 kB / 0.8267 GB, free: 15.33 MB / 0.6823 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.0003445/0.55, allocations: 336.7 kB / 0.827 GB, free: 14.99 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/0.5501, allocations: 99.42 kB / 0.8271 GB, free: 14.89 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00154/0.5516, allocations: 1.011 MB / 0.8281 GB, free: 13.87 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.171e-05/0.5516, allocations: 8.516 kB / 0.8281 GB, free: 13.86 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.5516, allocations: 0 / 0.8281 GB, free: 13.86 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.5516, allocations: 12.86 kB / 0.8281 GB, free: 13.85 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00286/0.5545, allocations: 2.929 MB / 0.831 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.341e-05/0.5545, allocations: 16.11 kB / 0.831 GB, free: 10.76 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002923/0.5548, allocations: 119.8 kB / 0.8311 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.317e-06/0.5548, allocations: 8 kB / 0.8311 GB, free: 10.63 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.114e-05/0.5548, allocations: 31.92 kB / 0.8312 GB, free: 10.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.348e-06/0.5549, allocations: 15.31 kB / 0.8312 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.5549, allocations: 15.94 kB / 0.8312 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001278/0.5561, allocations: 1.345 MB / 0.8325 GB, free: 9.109 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002753/0.5564, allocations: 223.1 kB / 0.8327 GB, free: 8.891 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.636e-05/0.5565, allocations: 31.92 kB / 0.8328 GB, free: 8.859 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004819/0.557, allocations: 99.91 kB / 0.8329 GB, free: 8.762 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.852e-05/0.557, allocations: 59.8 kB / 0.8329 GB, free: 8.703 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.551e-05/0.5571, allocations: 39.97 kB / 0.833 GB, free: 8.664 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0006707/0.5578, allocations: 0.6356 MB / 0.8336 GB, free: 8.035 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.91e-07/0.5578, allocations: 0 / 0.8336 GB, free: 8.035 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0008014/0.5586, allocations: 327.3 kB / 0.8339 GB, free: 7.715 MB / 0.6823 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.0008273/0.5594, allocations: 342.5 kB / 0.8342 GB, free: 7.375 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001331/0.5607, allocations: 1.037 MB / 0.8352 GB, free: 6.312 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.5607, allocations: 4 kB / 0.8352 GB, free: 6.309 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005102/0.5612, allocations: 0.5103 MB / 0.8357 GB, free: 5.781 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001093/0.5623, allocations: 382.3 kB / 0.8361 GB, free: 5.438 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002352/0.5647, allocations: 2.073 MB / 0.8381 GB, free: 3.219 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003455/0.565, allocations: 477.6 kB / 0.8386 GB, free: 2.723 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002086/0.5652, allocations: 80.45 kB / 0.8386 GB, free: 2.641 MB / 0.6823 GB Notification: Performance of SimCode: time 1.413e-06/0.5652, allocations: 0 / 0.8386 GB, free: 2.641 MB / 0.6823 GB Notification: Performance of Templates: time 0.01461/0.5798, allocations: 16.8 MB / 0.8551 GB, free: 1.98 MB / 0.698 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: 7.479221499525011] Failed to read output from testmodel.py, exit status != 0: 0.5859976895153522 0.601235926 0.07112868 Calling exit ...