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.001674/0.001674, allocations: 83.42 kB / 21.28 MB, free: 0.5195 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.001484/0.001484, allocations: 158.8 kB / 24.53 MB, free: 3.84 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.456/1.456, allocations: 177.2 MB / 204.9 MB, free: 9.289 MB / 190.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.1407/0.1407, allocations: 19.7 MB / 281 MB, free: 13.07 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.002111/0.002111, allocations: 67.91 kB / 417.6 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2616/0.2637, allocations: 60.45 MB / 478.1 MB, free: 15.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoeffValve): time 0.07991/0.3436, allocations: 71.27 MB / 0.5365 GB, free: 10.81 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01479/0.3584, allocations: 10.1 MB / 0.5463 GB, free: 0.668 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006271/0.359, allocations: 35.62 kB / 0.5464 GB, free: 0.6328 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001097/0.3601, allocations: 389.1 kB / 0.5467 GB, free: 256 kB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001601/0.3617, allocations: 0.5471 MB / 0.5473 GB, free: 15.7 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01569/0.3774, allocations: 5.959 MB / 0.5531 GB, free: 9.734 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002256/0.3797, allocations: 1.543 MB / 0.5546 GB, free: 8.184 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006522/0.3803, allocations: 374 kB / 0.555 GB, free: 7.801 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001033/0.3814, allocations: 0.7788 MB / 0.5557 GB, free: 7.02 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007265/0.3821, allocations: 0.4977 MB / 0.5562 GB, free: 6.52 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.28e-05/0.3822, allocations: 48 kB / 0.5562 GB, free: 6.473 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01153/0.3937, allocations: 6.072 MB / 0.5622 GB, free: 404 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002492/0.3939, allocations: 151.2 kB / 0.5623 GB, free: 252 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005473/0.3945, allocations: 362.5 kB / 0.5627 GB, free: 15.89 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008835/0.4033, allocations: 4.228 MB / 0.5668 GB, free: 11.65 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.4033, allocations: 0 / 0.5668 GB, free: 11.65 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4033, allocations: 0 / 0.5668 GB, free: 11.65 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.225e-05/0.4033, allocations: 0 / 0.5668 GB, free: 11.65 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.004165/0.4075, allocations: 1.627 MB / 0.5684 GB, free: 9.984 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.4075, allocations: 12.03 kB / 0.5684 GB, free: 9.973 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004351/0.408, allocations: 132.3 kB / 0.5685 GB, free: 9.844 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009604/0.4089, allocations: 0.5096 MB / 0.569 GB, free: 9.309 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002737/0.4092, allocations: 283.5 kB / 0.5693 GB, free: 8.984 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.084e-05/0.4093, allocations: 60.12 kB / 0.5693 GB, free: 8.926 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001719/0.411, allocations: 0.7309 MB / 0.5701 GB, free: 8.148 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.411, allocations: 0 / 0.5701 GB, free: 8.148 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.75e-05/0.4111, allocations: 27.94 kB / 0.5701 GB, free: 8.121 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.511e-05/0.4111, allocations: 12 kB / 0.5701 GB, free: 8.109 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001597/0.4127, allocations: 0.6166 MB / 0.5707 GB, free: 7.492 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.003169/0.4159, allocations: 2.158 MB / 0.5728 GB, free: 5.262 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009818/0.4169, allocations: 294.4 kB / 0.5731 GB, free: 4.938 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002696/0.4171, allocations: 107.3 kB / 0.5732 GB, free: 4.82 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.763e-05/0.4172, allocations: 4 kB / 0.5732 GB, free: 4.816 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.407e-05/0.4172, allocations: 42.56 kB / 0.5732 GB, free: 4.766 MB / 478.1 MB Notification: Performance of pre-optimization done (n=28): time 1.903e-06/0.4172, allocations: 0 / 0.5732 GB, free: 4.766 MB / 478.1 MB Notification: Performance of matching and sorting (n=28): time 0.002284/0.4195, allocations: 0.614 MB / 0.5738 GB, free: 4.145 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.123e-05/0.4196, allocations: 132.5 kB / 0.574 GB, free: 3.984 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006124/0.4202, allocations: 0.507 MB / 0.5745 GB, free: 3.465 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.615e-05/0.4202, allocations: 29.7 kB / 0.5745 GB, free: 3.43 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002891/0.4205, allocations: 376.9 kB / 0.5748 GB, free: 3.059 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.831e-05/0.4206, allocations: 95.12 kB / 0.5749 GB, free: 2.965 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000127/0.4207, allocations: 73.67 kB / 0.575 GB, free: 2.887 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001946/0.4209, allocations: 374.6 kB / 0.5754 GB, free: 2.512 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002771/0.4212, allocations: 100.8 kB / 0.5755 GB, free: 2.41 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003174/0.4215, allocations: 136.1 kB / 0.5756 GB, free: 2.266 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005688/0.4221, allocations: 216.4 kB / 0.5758 GB, free: 2.043 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.4221, allocations: 0 / 0.5758 GB, free: 2.043 MB / 478.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0007881/0.4229, allocations: 341 kB / 0.5761 GB, free: 1.703 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.4229, allocations: 4 kB / 0.5761 GB, free: 1.699 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.4229, allocations: 0 / 0.5761 GB, free: 1.699 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.4229, allocations: 4 kB / 0.5761 GB, free: 1.695 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004444/0.4234, allocations: 79.88 kB / 0.5762 GB, free: 1.617 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.4234, allocations: 0 / 0.5762 GB, free: 1.617 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003464/0.4237, allocations: 27.83 kB / 0.5762 GB, free: 1.59 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.489e-05/0.4238, allocations: 19.98 kB / 0.5763 GB, free: 1.57 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003984/0.4242, allocations: 216 kB / 0.5765 GB, free: 1.355 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003087/0.4245, allocations: 161.2 kB / 0.5766 GB, free: 1.164 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005142/0.425, allocations: 229.3 kB / 0.5768 GB, free: 0.9062 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.807e-06/0.425, allocations: 4 kB / 0.5768 GB, free: 0.9023 MB / 478.1 MB Notification: Performance of matching and sorting (n=35) (initialization_lambda0): time 0.0007661/0.4257, allocations: 344.9 kB / 0.5772 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.798e-06/0.4258, allocations: 4 kB / 0.5772 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.778e-06/0.4258, allocations: 4 kB / 0.5772 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.441e-06/0.4258, allocations: 4 kB / 0.5772 GB, free: 0.5469 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003516/0.4261, allocations: 75.89 kB / 0.5772 GB, free: 484 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/0.4261, allocations: 7.984 kB / 0.5773 GB, free: 476 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003186/0.4264, allocations: 15.89 kB / 0.5773 GB, free: 460 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.065e-05/0.4265, allocations: 24.2 kB / 0.5773 GB, free: 436 kB / 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.0001821/0.4267, allocations: 205 kB / 0.5775 GB, free: 224 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001537/0.4268, allocations: 59.62 kB / 0.5775 GB, free: 164 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007985/0.4276, allocations: 326.2 kB / 0.5779 GB, free: 15.83 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.4276, allocations: 7.938 kB / 0.5779 GB, free: 15.82 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.4276, allocations: 0 / 0.5779 GB, free: 15.82 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.837e-06/0.4276, allocations: 7.984 kB / 0.5779 GB, free: 15.82 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002011/0.4296, allocations: 1.196 MB / 0.579 GB, free: 14.53 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/0.4296, allocations: 4 kB / 0.579 GB, free: 14.53 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002335/0.4299, allocations: 67.89 kB / 0.5791 GB, free: 14.46 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.656e-06/0.4299, allocations: 4 kB / 0.5791 GB, free: 14.46 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.644e-05/0.4299, allocations: 12 kB / 0.5791 GB, free: 14.45 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.436e-06/0.4299, allocations: 12.48 kB / 0.5791 GB, free: 14.43 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/0.4299, allocations: 11.94 kB / 0.5791 GB, free: 14.42 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008422/0.4308, allocations: 0.7015 MB / 0.5798 GB, free: 13.65 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/0.4309, allocations: 67.52 kB / 0.5799 GB, free: 13.59 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.077e-05/0.431, allocations: 11.98 kB / 0.5799 GB, free: 13.57 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003741/0.4313, allocations: 8 kB / 0.5799 GB, free: 13.57 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.676e-05/0.4314, allocations: 43.83 kB / 0.58 GB, free: 13.52 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.033e-05/0.4314, allocations: 19.98 kB / 0.58 GB, free: 13.5 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004643/0.4319, allocations: 379.1 kB / 0.5803 GB, free: 13.13 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4319, allocations: 8 kB / 0.5803 GB, free: 13.12 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002835/0.4347, allocations: 1.13 MB / 0.5814 GB, free: 11.99 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.003353/0.4381, allocations: 1.001 MB / 0.5824 GB, free: 10.98 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009829/0.4391, allocations: 355.4 kB / 0.5828 GB, free: 10.63 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.4391, allocations: 0 / 0.5828 GB, free: 10.63 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002726/0.4394, allocations: 113.1 kB / 0.5829 GB, free: 10.52 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002059/0.4414, allocations: 374.9 kB / 0.5832 GB, free: 10.16 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001768/0.4432, allocations: 1.143 MB / 0.5843 GB, free: 8.93 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003458/0.4435, allocations: 314.2 kB / 0.5846 GB, free: 8.59 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001185/0.4447, allocations: 0.8385 MB / 0.5855 GB, free: 7.746 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001393/0.4448, allocations: 60.47 kB / 0.5855 GB, free: 7.688 MB / 494.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4448, allocations: 0 / 0.5855 GB, free: 7.688 MB / 494.1 MB Notification: Performance of Templates: time 0.05703/0.5019, allocations: 38.33 MB / 0.623 GB, free: 1.551 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 -s gbode -gbnls=internal -gberr=embedded -gbm=esdirk4 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.272104826988652] Failed to read output from testmodel.py, exit status != 0: 0.5110006380127743 0.52609273 0.119311568 Calling exit ...