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.001321/0.001321, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001441/0.001441, allocations: 211.5 kB / 24.48 MB, free: 3.938 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.361/1.361, allocations: 207.7 MB / 235.3 MB, free: 9.766 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.2827/0.2827, allocations: 49.6 MB / 337.2 MB, free: 3.871 MB / 270.1 MB " [Timeout remaining time 180] 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.002233/0.002233, allocations: 75.89 kB / 477.6 MB, free: 12.25 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1086, allocations: 62.43 MB / 0.5274 GB, free: 13.63 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoeffValve): time 0.2584/0.3669, allocations: 71.1 MB / 0.5968 GB, free: 9.645 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01368/0.3806, allocations: 9.892 MB / 0.6065 GB, free: 1.988 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006163/0.3812, allocations: 34.97 kB / 0.6065 GB, free: 1.965 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001061/0.3823, allocations: 388.4 kB / 0.6069 GB, free: 1.637 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00106/0.3834, allocations: 0.5188 MB / 0.6074 GB, free: 1.195 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01454/0.3979, allocations: 5.818 MB / 0.6131 GB, free: 13.06 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00205/0.4, allocations: 1.384 MB / 0.6144 GB, free: 11.75 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005336/0.4005, allocations: 325.8 kB / 0.6147 GB, free: 11.42 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006841/0.4012, allocations: 0.502 MB / 0.6152 GB, free: 10.91 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006231/0.4018, allocations: 469.7 kB / 0.6157 GB, free: 10.45 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.368e-05/0.4019, allocations: 44 kB / 0.6157 GB, free: 10.41 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01169/0.4136, allocations: 6.06 MB / 0.6216 GB, free: 4.344 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002038/0.4138, allocations: 127.4 kB / 0.6217 GB, free: 4.219 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005163/0.4143, allocations: 322.5 kB / 0.622 GB, free: 3.902 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008242/0.4225, allocations: 4.134 MB / 0.6261 GB, free: 15.75 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.4225, allocations: 0 / 0.6261 GB, free: 15.75 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4225, allocations: 0 / 0.6261 GB, free: 15.75 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.456e-05/0.4226, allocations: 0 / 0.6261 GB, free: 15.75 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.003306/0.4259, allocations: 1.448 MB / 0.6275 GB, free: 14.27 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.4259, allocations: 8.031 kB / 0.6275 GB, free: 14.26 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003481/0.4262, allocations: 120.3 kB / 0.6276 GB, free: 14.14 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008324/0.4271, allocations: 473.9 kB / 0.6281 GB, free: 13.64 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.288e-05/0.4271, allocations: 37.38 kB / 0.6281 GB, free: 13.61 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.161e-05/0.4272, allocations: 52.56 kB / 0.6282 GB, free: 13.56 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001056/0.4282, allocations: 0.6125 MB / 0.6288 GB, free: 12.88 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.028e-05/0.4283, allocations: 7.938 kB / 0.6288 GB, free: 12.87 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.292e-05/0.4283, allocations: 20 kB / 0.6288 GB, free: 12.85 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.511e-05/0.4283, allocations: 19.94 kB / 0.6288 GB, free: 12.83 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007458/0.4291, allocations: 355.5 kB / 0.6291 GB, free: 12.48 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.002854/0.4319, allocations: 2.62 MB / 0.6317 GB, free: 9.766 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004589/0.4324, allocations: 182.4 kB / 0.6319 GB, free: 9.551 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.139e-05/0.4325, allocations: 59.44 kB / 0.6319 GB, free: 9.48 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05945/0.4919, allocations: 16.82 MB / 0.6484 GB, free: 8.648 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.708e-05/0.492, allocations: 34.56 kB / 0.6484 GB, free: 8.605 MB / 494.1 MB Notification: Performance of pre-optimization done (n=12): time 2.214e-06/0.492, allocations: 0 / 0.6484 GB, free: 8.605 MB / 494.1 MB Notification: Performance of matching and sorting (n=12): time 0.001186/0.4931, allocations: 337.6 kB / 0.6487 GB, free: 8.27 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.372e-05/0.4932, allocations: 128.5 kB / 0.6488 GB, free: 8.113 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005959/0.4938, allocations: 0.4912 MB / 0.6493 GB, free: 7.613 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.617e-05/0.4938, allocations: 29.7 kB / 0.6493 GB, free: 7.578 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002918/0.4941, allocations: 380 kB / 0.6497 GB, free: 7.199 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.635e-05/0.4942, allocations: 47.58 kB / 0.6497 GB, free: 7.152 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.433e-05/0.4943, allocations: 49.69 kB / 0.6498 GB, free: 7.098 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001844/0.4945, allocations: 366.8 kB / 0.6501 GB, free: 6.73 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/0.4946, allocations: 52.78 kB / 0.6502 GB, free: 6.676 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001834/0.4948, allocations: 130.3 kB / 0.6503 GB, free: 6.512 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000304/0.4951, allocations: 194.2 kB / 0.6505 GB, free: 6.285 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.4951, allocations: 8 kB / 0.6505 GB, free: 6.277 MB / 494.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004718/0.4955, allocations: 265 kB / 0.6508 GB, free: 6.012 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.4956, allocations: 8 kB / 0.6508 GB, free: 6.004 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.4956, allocations: 4 kB / 0.6508 GB, free: 6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.4956, allocations: 4 kB / 0.6508 GB, free: 5.996 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002913/0.4959, allocations: 47.95 kB / 0.6508 GB, free: 5.949 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.4959, allocations: 9.828 kB / 0.6508 GB, free: 5.941 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002877/0.4962, allocations: 27.84 kB / 0.6509 GB, free: 5.914 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.777e-05/0.4962, allocations: 15.98 kB / 0.6509 GB, free: 5.898 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002257/0.4964, allocations: 164 kB / 0.651 GB, free: 5.734 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001955/0.4966, allocations: 183.9 kB / 0.6512 GB, free: 5.484 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003077/0.4969, allocations: 235.5 kB / 0.6514 GB, free: 5.184 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.506e-06/0.4969, allocations: 7.938 kB / 0.6514 GB, free: 5.176 MB / 494.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004295/0.4974, allocations: 265.2 kB / 0.6517 GB, free: 4.91 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.4974, allocations: 11.94 kB / 0.6517 GB, free: 4.898 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.4974, allocations: 11.31 kB / 0.6517 GB, free: 4.891 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.404e-06/0.4974, allocations: 8 kB / 0.6517 GB, free: 4.883 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002188/0.4976, allocations: 51.91 kB / 0.6518 GB, free: 4.832 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.413e-05/0.4976, allocations: 15.92 kB / 0.6518 GB, free: 4.816 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002745/0.4979, allocations: 16.33 kB / 0.6518 GB, free: 4.801 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.981e-05/0.4979, allocations: 16 kB / 0.6518 GB, free: 4.785 MB / 494.1 MB 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.0001357/0.498, allocations: 196.2 kB / 0.652 GB, free: 4.586 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001344/0.4982, allocations: 59.75 kB / 0.6521 GB, free: 4.527 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006793/0.4989, allocations: 0.5316 MB / 0.6526 GB, free: 3.984 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.4989, allocations: 4 kB / 0.6526 GB, free: 3.98 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.4989, allocations: 0 / 0.6526 GB, free: 3.98 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.4989, allocations: 7.984 kB / 0.6526 GB, free: 3.973 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000684/0.4996, allocations: 468.6 kB / 0.653 GB, free: 3.484 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.4996, allocations: 0 / 0.653 GB, free: 3.484 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.382e-05/0.4996, allocations: 27.98 kB / 0.6531 GB, free: 3.457 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.191e-06/0.4997, allocations: 7.938 kB / 0.6531 GB, free: 3.449 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.4997, allocations: 0 / 0.6531 GB, free: 3.449 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.4997, allocations: 4 kB / 0.6531 GB, free: 3.445 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/0.4997, allocations: 3.938 kB / 0.6531 GB, free: 3.441 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004025/0.5001, allocations: 488.8 kB / 0.6535 GB, free: 2.945 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.778e-05/0.5002, allocations: 55.5 kB / 0.6536 GB, free: 2.891 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.889e-05/0.5003, allocations: 35.73 kB / 0.6536 GB, free: 2.855 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002987/0.5006, allocations: 0 / 0.6536 GB, free: 2.855 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.804e-05/0.5006, allocations: 11.97 kB / 0.6536 GB, free: 2.844 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.074e-06/0.5006, allocations: 4 kB / 0.6537 GB, free: 2.84 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006995/0.5013, allocations: 0.5615 MB / 0.6542 GB, free: 2.277 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5013, allocations: 7.938 kB / 0.6542 GB, free: 2.27 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002864/0.5042, allocations: 1.107 MB / 0.6553 GB, free: 1.156 MB / 494.1 MB 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.003182/0.5073, allocations: 0.9825 MB / 0.6562 GB, free: 172 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004634/0.5078, allocations: 200.9 kB / 0.6564 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.5078, allocations: 4.5 kB / 0.6564 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.822e-05/0.5079, allocations: 35.92 kB / 0.6565 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001625/0.5095, allocations: 281.7 kB / 0.6567 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001639/0.5111, allocations: 1.129 MB / 0.6578 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003518/0.5115, allocations: 339.6 kB / 0.6582 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.952e-05/0.5116, allocations: 43.42 kB / 0.6582 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of SimCode: time 4.61e-07/0.5116, allocations: 0 / 0.6582 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of Templates: time 0.03424/0.5458, allocations: 22.86 MB / 0.6805 GB, free: 7.191 MB / 0.5137 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: 9.404788280837238] Failed to read output from testmodel.py, exit status != 0: 0.5547848539426923 0.568693446 0.14305907 Calling exit ...