Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve.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.001317/0.001317, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001432/0.001432, allocations: 215.8 kB / 23.73 MB, free: 4.156 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.412/1.412, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.1578/0.1578, allocations: 26.84 MB / 340.7 MB, free: 7.957 MB / 270.1 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/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(ThermoPower.Test.WaterComponents.TestCoeffValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve") translateModel(ThermoPower.Test.WaterComponents.TestCoeffValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve") [Timeout 660] "Notification: ThermoPower 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.002054/0.002054, allocations: 63.91 kB / 477.3 MB, free: 2.996 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.338/0.3401, allocations: 60.5 MB / 0.5252 GB, free: 9.711 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoeffValve): time 0.0841/0.4242, allocations: 71.64 MB / 0.5951 GB, free: 12.95 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01695/0.4411, allocations: 10.1 MB / 0.605 GB, free: 2.809 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001115/0.4423, allocations: 31.69 kB / 0.605 GB, free: 2.777 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001385/0.4436, allocations: 389.1 kB / 0.6054 GB, free: 2.395 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001707/0.4453, allocations: 0.5471 MB / 0.6059 GB, free: 1.844 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01958/0.4649, allocations: 5.97 MB / 0.6117 GB, free: 11.87 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003412/0.4683, allocations: 1.547 MB / 0.6133 GB, free: 10.31 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008124/0.4692, allocations: 357.9 kB / 0.6136 GB, free: 9.945 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0011/0.4703, allocations: 0.5448 MB / 0.6141 GB, free: 9.398 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007975/0.4711, allocations: 0.5015 MB / 0.6146 GB, free: 8.895 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.685e-05/0.4711, allocations: 52 kB / 0.6147 GB, free: 8.844 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01397/0.4851, allocations: 6.076 MB / 0.6206 GB, free: 2.762 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003112/0.4854, allocations: 143.3 kB / 0.6207 GB, free: 2.621 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006994/0.4861, allocations: 374.3 kB / 0.6211 GB, free: 2.254 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01245/0.4986, allocations: 4.22 MB / 0.6252 GB, free: 14.02 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.4986, allocations: 7.938 kB / 0.6252 GB, free: 14.02 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.225e-06/0.4986, allocations: 0 / 0.6252 GB, free: 14.02 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.39e-05/0.4986, allocations: 0 / 0.6252 GB, free: 14.02 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.005036/0.5036, allocations: 1.631 MB / 0.6268 GB, free: 12.34 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.5037, allocations: 8.031 kB / 0.6268 GB, free: 12.34 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004312/0.5041, allocations: 136.3 kB / 0.627 GB, free: 12.2 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001084/0.5052, allocations: 0.5018 MB / 0.6274 GB, free: 11.68 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000286/0.5055, allocations: 275.5 kB / 0.6277 GB, free: 11.36 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.955e-05/0.5056, allocations: 56.12 kB / 0.6278 GB, free: 11.3 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001605/0.5072, allocations: 0.7348 MB / 0.6285 GB, free: 10.52 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.213e-05/0.5072, allocations: 7.938 kB / 0.6285 GB, free: 10.52 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.153e-05/0.5072, allocations: 20 kB / 0.6285 GB, free: 10.5 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.698e-05/0.5073, allocations: 12 kB / 0.6285 GB, free: 10.48 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001449/0.5087, allocations: 0.6244 MB / 0.6291 GB, free: 9.859 MB / 478.1 MB 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.003142/0.5119, allocations: 2.145 MB / 0.6312 GB, free: 7.641 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008935/0.5128, allocations: 298 kB / 0.6315 GB, free: 7.312 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002566/0.513, allocations: 99.39 kB / 0.6316 GB, free: 7.203 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.298e-05/0.5131, allocations: 11.98 kB / 0.6316 GB, free: 7.191 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.447e-05/0.5131, allocations: 38.5 kB / 0.6316 GB, free: 7.145 MB / 478.1 MB Notification: Performance of pre-optimization done (n=28): time 2.484e-06/0.5131, allocations: 0 / 0.6316 GB, free: 7.145 MB / 478.1 MB Notification: Performance of matching and sorting (n=28): time 0.002158/0.5153, allocations: 0.6234 MB / 0.6323 GB, free: 6.516 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001409/0.5154, allocations: 136.5 kB / 0.6324 GB, free: 6.352 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007837/0.5162, allocations: 0.4992 MB / 0.6329 GB, free: 5.84 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.345e-05/0.5162, allocations: 33.7 kB / 0.6329 GB, free: 5.801 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000437/0.5167, allocations: 384.8 kB / 0.6333 GB, free: 5.422 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00013/0.5168, allocations: 99.16 kB / 0.6334 GB, free: 5.324 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001366/0.5169, allocations: 65.67 kB / 0.6334 GB, free: 5.254 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002847/0.5172, allocations: 366.7 kB / 0.6338 GB, free: 4.887 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002755/0.5175, allocations: 104.8 kB / 0.6339 GB, free: 4.781 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003203/0.5178, allocations: 132.1 kB / 0.634 GB, free: 4.641 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000567/0.5184, allocations: 207.2 kB / 0.6342 GB, free: 4.426 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.5184, allocations: 0 / 0.6342 GB, free: 4.426 MB / 478.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0008636/0.5192, allocations: 345 kB / 0.6345 GB, free: 4.082 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.927e-05/0.5193, allocations: 8 kB / 0.6345 GB, free: 4.074 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.5193, allocations: 7.984 kB / 0.6345 GB, free: 4.066 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.023e-05/0.5193, allocations: 4 kB / 0.6345 GB, free: 4.062 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004549/0.5198, allocations: 80.09 kB / 0.6346 GB, free: 3.984 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.389e-05/0.5198, allocations: 4 kB / 0.6346 GB, free: 3.98 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003523/0.5201, allocations: 19.84 kB / 0.6346 GB, free: 3.961 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.431e-05/0.5202, allocations: 23.92 kB / 0.6347 GB, free: 3.938 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004208/0.5206, allocations: 212 kB / 0.6349 GB, free: 3.727 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002925/0.5209, allocations: 161.2 kB / 0.635 GB, free: 3.535 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000483/0.5214, allocations: 237.5 kB / 0.6353 GB, free: 3.27 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.383e-06/0.5214, allocations: 0 / 0.6353 GB, free: 3.27 MB / 478.1 MB Notification: Performance of matching and sorting (n=35) (initialization_lambda0): time 0.0007132/0.5221, allocations: 332.9 kB / 0.6356 GB, free: 2.938 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.5221, allocations: 8 kB / 0.6356 GB, free: 2.93 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.565e-06/0.5221, allocations: 224 / 0.6356 GB, free: 2.93 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.325e-06/0.5221, allocations: 11.98 kB / 0.6356 GB, free: 2.918 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003149/0.5224, allocations: 79.88 kB / 0.6357 GB, free: 2.84 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.5224, allocations: 4 kB / 0.6357 GB, free: 2.836 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002993/0.5227, allocations: 27.88 kB / 0.6357 GB, free: 2.809 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.818e-05/0.5227, allocations: 16 kB / 0.6357 GB, free: 2.793 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (ValveLiq4.fluidState.phase,ValveLiq3.fluidState.phase,ValveLiq2.fluidState.phase,ValveLiq1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * 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.0001876/0.5229, allocations: 207.5 kB / 0.6359 GB, free: 2.586 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000163/0.5231, allocations: 63.62 kB / 0.636 GB, free: 2.523 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007513/0.5239, allocations: 314.5 kB / 0.6363 GB, free: 2.207 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.5239, allocations: 8 kB / 0.6363 GB, free: 2.199 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.789e-06/0.5239, allocations: 3.984 kB / 0.6363 GB, free: 2.195 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.5239, allocations: 0 / 0.6363 GB, free: 2.195 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002075/0.5259, allocations: 1.2 MB / 0.6375 GB, free: 0.9062 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.526, allocations: 4.031 kB / 0.6375 GB, free: 0.9023 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002191/0.5262, allocations: 67.89 kB / 0.6375 GB, free: 0.8359 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.458e-06/0.5262, allocations: 8 kB / 0.6375 GB, free: 0.8281 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.168e-05/0.5262, allocations: 19.92 kB / 0.6375 GB, free: 0.8086 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/0.5262, allocations: 4 kB / 0.6376 GB, free: 0.8047 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.815e-06/0.5262, allocations: 11.94 kB / 0.6376 GB, free: 0.793 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008743/0.5271, allocations: 0.6898 MB / 0.6382 GB, free: 36 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001411/0.5272, allocations: 67.69 kB / 0.6383 GB, free: 15.96 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.894e-05/0.5273, allocations: 19.94 kB / 0.6383 GB, free: 15.95 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003613/0.5277, allocations: 19.98 kB / 0.6383 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.177e-05/0.5278, allocations: 39.64 kB / 0.6384 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.622e-05/0.5278, allocations: 16 kB / 0.6384 GB, free: 15.88 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004655/0.5282, allocations: 383.1 kB / 0.6388 GB, free: 15.5 MB / 494.1 MB Notification: Performance of sort global known variables: time 6e-08/0.5282, allocations: 0 / 0.6388 GB, free: 15.5 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003781/0.532, allocations: 1.13 MB / 0.6399 GB, free: 14.36 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (ValveLiq4.fluidState.phase,ValveLiq3.fluidState.phase,ValveLiq2.fluidState.phase,ValveLiq1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.004295/0.5363, allocations: 1.009 MB / 0.6408 GB, free: 13.34 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001135/0.5375, allocations: 351.5 kB / 0.6412 GB, free: 13 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.764e-06/0.5375, allocations: 448 / 0.6412 GB, free: 13 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000268/0.5377, allocations: 115.7 kB / 0.6413 GB, free: 12.89 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002159/0.5399, allocations: 369 kB / 0.6416 GB, free: 12.54 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001961/0.5419, allocations: 1.131 MB / 0.6428 GB, free: 11.32 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003527/0.5422, allocations: 318.2 kB / 0.6431 GB, free: 10.98 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001244/0.5434, allocations: 0.8386 MB / 0.6439 GB, free: 10.13 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001387/0.5436, allocations: 59.41 kB / 0.6439 GB, free: 10.07 MB / 494.1 MB Notification: Performance of SimCode: time 1.052e-06/0.5436, allocations: 0 / 0.6439 GB, free: 10.07 MB / 494.1 MB Notification: Performance of Templates: time 0.05671/0.6003, allocations: 39.6 MB / 0.6826 GB, free: 2.703 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.348410306498408] Failed to read output from testmodel.py, exit status != 0: 0.609711479395628 0.624977845 0.12305102000000001 Calling exit ...