Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_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.001449/0.001449, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001773/0.001773, allocations: 209.8 kB / 24.5 MB, free: 4.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.474/1.474, allocations: 207.6 MB / 235.3 MB, free: 10.02 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.3146/0.3146, allocations: 49.57 MB / 337.1 MB, free: 4.125 MB / 270.1 MB " [Timeout remaining time 179] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_ThermoPower.Test.WaterComponents.TestCoeffValve") translateModel(ThermoPower.Test.WaterComponents.TestCoeffValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002215/0.002215, allocations: 75.88 kB / 477.6 MB, free: 12.44 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1294, allocations: 62.43 MB / 0.5274 GB, free: 13.82 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoeffValve): time 0.3051/0.4345, allocations: 78.88 MB / 0.6044 GB, free: 2.578 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01593/0.4504, allocations: 11.16 MB / 0.6153 GB, free: 9.559 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001091/0.4515, allocations: 35.66 kB / 0.6153 GB, free: 9.535 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001431/0.4529, allocations: 402.1 kB / 0.6157 GB, free: 9.188 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001556/0.4545, allocations: 0.5181 MB / 0.6162 GB, free: 8.746 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01727/0.4717, allocations: 5.919 MB / 0.622 GB, free: 4.512 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002444/0.4742, allocations: 1.384 MB / 0.6233 GB, free: 3.34 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008354/0.475, allocations: 337.8 kB / 0.6237 GB, free: 2.996 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001066/0.4761, allocations: 0.4903 MB / 0.6241 GB, free: 2.504 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001002/0.4771, allocations: 0.4938 MB / 0.6246 GB, free: 2.008 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001487/0.4772, allocations: 44 kB / 0.6247 GB, free: 1.965 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01432/0.4915, allocations: 6.374 MB / 0.6309 GB, free: 11.59 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002517/0.4918, allocations: 131.3 kB / 0.631 GB, free: 11.46 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007766/0.4926, allocations: 398 kB / 0.6314 GB, free: 11.07 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01086/0.5034, allocations: 4.134 MB / 0.6354 GB, free: 6.922 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.5034, allocations: 3.938 kB / 0.6354 GB, free: 6.918 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.5034, allocations: 0 / 0.6354 GB, free: 6.918 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.731e-05/0.5035, allocations: 0 / 0.6354 GB, free: 6.918 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: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.004299/0.5078, allocations: 1.444 MB / 0.6368 GB, free: 5.438 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.5078, allocations: 15.97 kB / 0.6369 GB, free: 5.422 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004719/0.5083, allocations: 128.3 kB / 0.637 GB, free: 5.297 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001034/0.5093, allocations: 465.9 kB / 0.6374 GB, free: 4.809 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.271e-05/0.5094, allocations: 41.31 kB / 0.6375 GB, free: 4.77 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.468e-05/0.5095, allocations: 48.56 kB / 0.6375 GB, free: 4.723 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001218/0.5107, allocations: 0.6164 MB / 0.6381 GB, free: 4.035 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.005e-05/0.5107, allocations: 3.984 kB / 0.6381 GB, free: 4.031 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.845e-05/0.5107, allocations: 28 kB / 0.6381 GB, free: 4.004 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.464e-05/0.5108, allocations: 12 kB / 0.6382 GB, free: 3.992 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008248/0.5116, allocations: 363.4 kB / 0.6385 GB, free: 3.637 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.004108/0.5157, allocations: 3.494 MB / 0.6419 GB, free: 15.88 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000552/0.5162, allocations: 178.4 kB / 0.6421 GB, free: 15.66 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001159/0.5164, allocations: 63.52 kB / 0.6421 GB, free: 15.59 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05846/0.5748, allocations: 16.74 MB / 0.6585 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.514e-05/0.5749, allocations: 46.48 kB / 0.6585 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 2.395e-06/0.5749, allocations: 0 / 0.6585 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.001459/0.5763, allocations: 360.8 kB / 0.6589 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.634e-05/0.5764, allocations: 136.5 kB / 0.659 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001122/0.5776, allocations: 0.7241 MB / 0.6597 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.402e-05/0.5776, allocations: 29.7 kB / 0.6597 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003418/0.578, allocations: 356.1 kB / 0.6601 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.306e-05/0.578, allocations: 47.61 kB / 0.6601 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.69e-05/0.5781, allocations: 53.66 kB / 0.6602 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.5783, allocations: 314 kB / 0.6605 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001269/0.5784, allocations: 56.83 kB / 0.6605 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001899/0.5786, allocations: 134.2 kB / 0.6607 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003216/0.5789, allocations: 194.9 kB / 0.6608 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.5789, allocations: 0 / 0.6608 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006304/0.5795, allocations: 297 kB / 0.6611 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.5796, allocations: 4 kB / 0.6611 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.5796, allocations: 4 kB / 0.6611 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.62e-05/0.5796, allocations: 7.984 kB / 0.6611 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003247/0.5799, allocations: 51.91 kB / 0.6612 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.5799, allocations: 4 kB / 0.6612 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004241/0.5804, allocations: 55.45 kB / 0.6613 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.197e-05/0.5804, allocations: 15.98 kB / 0.6613 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002427/0.5806, allocations: 168 kB / 0.6614 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002005/0.5808, allocations: 176 kB / 0.6616 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003328/0.5812, allocations: 243.4 kB / 0.6618 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.615e-06/0.5812, allocations: 4 kB / 0.6618 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0005623/0.5817, allocations: 301.2 kB / 0.6621 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.5817, allocations: 11.98 kB / 0.6621 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.5818, allocations: 8 kB / 0.6621 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.904e-06/0.5818, allocations: 4 kB / 0.6621 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002241/0.582, allocations: 51.91 kB / 0.6622 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.334e-05/0.582, allocations: 15.88 kB / 0.6622 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003872/0.5824, allocations: 19.89 kB / 0.6622 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.207e-05/0.5824, allocations: 19.94 kB / 0.6622 GB, free: 10.68 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (23): * Single equations (assignments): 23 * 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.0001748/0.5826, allocations: 196.1 kB / 0.6624 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002065/0.5828, allocations: 91.17 kB / 0.6625 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007323/0.5835, allocations: 0.5216 MB / 0.663 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.5835, allocations: 4 kB / 0.663 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.5835, allocations: 0 / 0.663 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.5836, allocations: 0 / 0.663 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009889/0.5845, allocations: 0.5963 MB / 0.6636 GB, free: 9.219 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.5845, allocations: 0 / 0.6636 GB, free: 9.219 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.693e-05/0.5846, allocations: 19.98 kB / 0.6636 GB, free: 9.199 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.5846, allocations: 4 kB / 0.6636 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.5846, allocations: 8 kB / 0.6636 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.5846, allocations: 0 / 0.6636 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.5847, allocations: 4 kB / 0.6636 GB, free: 9.184 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004777/0.5851, allocations: 0.5015 MB / 0.6641 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001885/0.5853, allocations: 83.45 kB / 0.6642 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001452/0.5855, allocations: 35.67 kB / 0.6643 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003549/0.5858, allocations: 7.938 kB / 0.6643 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.878e-05/0.5858, allocations: 3.984 kB / 0.6643 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.5859, allocations: 4 kB / 0.6643 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001006/0.5869, allocations: 0.7306 MB / 0.665 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5869, allocations: 3.938 kB / 0.665 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003359/0.5902, allocations: 1.053 MB / 0.666 GB, free: 6.734 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (12): * Single equations (assignments): 12 * 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.004379/0.5946, allocations: 0.9819 MB / 0.667 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005867/0.5952, allocations: 191.9 kB / 0.6672 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.5952, allocations: 0 / 0.6672 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.371e-05/0.5953, allocations: 41.66 kB / 0.6672 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002682/0.5979, allocations: 470.7 kB / 0.6676 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002132/0.6001, allocations: 1.168 MB / 0.6688 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006416/0.6007, allocations: 0.9369 MB / 0.6697 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001609/0.6009, allocations: 55.42 kB / 0.6698 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of SimCode: time 1.533e-06/0.6009, allocations: 0 / 0.6698 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of Templates: time 0.04234/0.6432, allocations: 24.46 MB / 0.6936 GB, free: 10.32 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.98241597902961] Failed to read output from testmodel.py, exit status != 0: 0.6530730009544641 0.668721432 0.161802734 Calling exit ...