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.001832/0.001832, allocations: 79.19 kB / 21.27 MB, free: 388 kB / 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.002363/0.002363, allocations: 163.7 kB / 24.53 MB, free: 3.59 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 2.149/2.149, allocations: 177.2 MB / 204.9 MB, free: 9.293 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.2082/0.2082, allocations: 19.71 MB / 281 MB, free: 13.07 MB / 270.1 MB " [Timeout remaining time 179] 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.003214/0.003214, allocations: 71.89 kB / 417.6 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4703/0.4735, 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.1295/0.603, allocations: 71.27 MB / 0.5365 GB, free: 10.83 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02345/0.6265, allocations: 10.1 MB / 0.5463 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001004/0.6275, allocations: 39.62 kB / 0.5464 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001932/0.6294, allocations: 385.1 kB / 0.5467 GB, free: 272 kB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002163/0.6316, allocations: 0.5551 MB / 0.5473 GB, free: 15.7 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02491/0.6565, allocations: 5.955 MB / 0.5531 GB, free: 9.746 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003029/0.6595, allocations: 1.551 MB / 0.5546 GB, free: 8.188 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008017/0.6603, allocations: 350.1 kB / 0.5549 GB, free: 7.828 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00148/0.6618, allocations: 0.7827 MB / 0.5557 GB, free: 7.043 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001035/0.6628, allocations: 0.5054 MB / 0.5562 GB, free: 6.535 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001211/0.6629, allocations: 56 kB / 0.5562 GB, free: 6.48 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01747/0.6804, allocations: 6.072 MB / 0.5622 GB, free: 416 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003001/0.6807, allocations: 147.3 kB / 0.5623 GB, free: 268 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007744/0.6815, allocations: 370.4 kB / 0.5627 GB, free: 15.89 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01179/0.6933, allocations: 4.216 MB / 0.5668 GB, free: 11.67 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.6933, allocations: 0 / 0.5668 GB, free: 11.67 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.6933, allocations: 4 kB / 0.5668 GB, free: 11.67 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.619e-05/0.6933, allocations: 0 / 0.5668 GB, free: 11.67 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.006341/0.6997, allocations: 1.631 MB / 0.5684 GB, free: 9.996 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/0.6997, allocations: 8.625 kB / 0.5684 GB, free: 9.988 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007553/0.7005, allocations: 136.3 kB / 0.5685 GB, free: 9.855 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00151/0.702, allocations: 0.5096 MB / 0.569 GB, free: 9.32 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003611/0.7023, allocations: 279.5 kB / 0.5693 GB, free: 9 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001242/0.7025, allocations: 60.12 kB / 0.5693 GB, free: 8.941 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002688/0.7051, allocations: 0.7308 MB / 0.5701 GB, free: 8.164 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.166e-05/0.7052, allocations: 8 kB / 0.5701 GB, free: 8.156 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.609e-05/0.7052, allocations: 20 kB / 0.5701 GB, free: 8.137 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.284e-05/0.7053, allocations: 19.94 kB / 0.5701 GB, free: 8.117 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002403/0.7077, allocations: 0.6166 MB / 0.5707 GB, free: 7.5 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.004289/0.712, allocations: 2.145 MB / 0.5728 GB, free: 5.281 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001572/0.7135, allocations: 290 kB / 0.5731 GB, free: 4.961 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004452/0.714, allocations: 111.3 kB / 0.5732 GB, free: 4.84 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.611e-05/0.714, allocations: 4 kB / 0.5732 GB, free: 4.836 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.008e-05/0.7141, allocations: 42.55 kB / 0.5732 GB, free: 4.785 MB / 478.1 MB Notification: Performance of pre-optimization done (n=28): time 2.555e-06/0.7141, allocations: 0 / 0.5732 GB, free: 4.785 MB / 478.1 MB Notification: Performance of matching and sorting (n=28): time 0.003866/0.7179, allocations: 0.6223 MB / 0.5738 GB, free: 4.156 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001226/0.7181, allocations: 132.5 kB / 0.574 GB, free: 3.996 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009277/0.719, allocations: 0.4992 MB / 0.5744 GB, free: 3.484 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.097e-05/0.719, allocations: 33.7 kB / 0.5745 GB, free: 3.445 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004193/0.7195, allocations: 376.9 kB / 0.5748 GB, free: 3.074 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001478/0.7196, allocations: 107 kB / 0.5749 GB, free: 2.969 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001865/0.7198, allocations: 65.67 kB / 0.575 GB, free: 2.898 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000257/0.72, allocations: 370.7 kB / 0.5754 GB, free: 2.527 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004787/0.7205, allocations: 104.7 kB / 0.5755 GB, free: 2.422 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005125/0.721, allocations: 136.1 kB / 0.5756 GB, free: 2.277 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009407/0.722, allocations: 208.5 kB / 0.5758 GB, free: 2.062 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.722, allocations: 4 kB / 0.5758 GB, free: 2.059 MB / 478.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001377/0.7234, allocations: 337 kB / 0.5761 GB, free: 1.723 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/0.7234, allocations: 11.28 kB / 0.5761 GB, free: 1.715 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/0.7234, allocations: 3.984 kB / 0.5761 GB, free: 1.711 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.577e-05/0.7234, allocations: 4 kB / 0.5761 GB, free: 1.707 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007054/0.7241, allocations: 75.88 kB / 0.5762 GB, free: 1.633 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.35e-05/0.7241, allocations: 4 kB / 0.5762 GB, free: 1.629 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005694/0.7247, allocations: 23.84 kB / 0.5762 GB, free: 1.605 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.411e-05/0.7248, allocations: 15.98 kB / 0.5762 GB, free: 1.59 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006249/0.7254, allocations: 212 kB / 0.5764 GB, free: 1.379 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004799/0.7259, allocations: 169.2 kB / 0.5766 GB, free: 1.18 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008089/0.7267, allocations: 233.3 kB / 0.5768 GB, free: 0.918 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.016e-06/0.7267, allocations: 0 / 0.5768 GB, free: 0.918 MB / 478.1 MB Notification: Performance of matching and sorting (n=35) (initialization_lambda0): time 0.001197/0.7279, allocations: 340.9 kB / 0.5772 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.7279, allocations: 8 kB / 0.5772 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.7279, allocations: 0 / 0.5772 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.7279, allocations: 4 kB / 0.5772 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005004/0.7284, allocations: 83.81 kB / 0.5772 GB, free: 496 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.7284, allocations: 4 kB / 0.5773 GB, free: 492 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004921/0.7289, allocations: 23.88 kB / 0.5773 GB, free: 468 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.37e-05/0.729, allocations: 16 kB / 0.5773 GB, free: 452 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.0002043/0.7292, allocations: 200.6 kB / 0.5775 GB, free: 244 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002506/0.7294, allocations: 67.62 kB / 0.5775 GB, free: 176 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001235/0.7306, allocations: 322.2 kB / 0.5779 GB, free: 15.85 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.265e-05/0.7307, allocations: 7.984 kB / 0.5779 GB, free: 15.84 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.7307, allocations: 3.984 kB / 0.5779 GB, free: 15.84 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.7307, allocations: 0 / 0.5779 GB, free: 15.84 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00299/0.7337, allocations: 1.196 MB / 0.579 GB, free: 14.55 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.298e-06/0.7337, allocations: 4 kB / 0.579 GB, free: 14.55 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003783/0.7341, allocations: 71.83 kB / 0.5791 GB, free: 14.48 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.321e-05/0.7341, allocations: 8 kB / 0.5791 GB, free: 14.47 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.959e-05/0.7341, allocations: 15.98 kB / 0.5791 GB, free: 14.45 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.084e-05/0.7341, allocations: 8 kB / 0.5791 GB, free: 14.45 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.074e-05/0.7341, allocations: 7.938 kB / 0.5791 GB, free: 14.44 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00123/0.7354, allocations: 0.7027 MB / 0.5798 GB, free: 13.67 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000161/0.7355, allocations: 67.5 kB / 0.5799 GB, free: 13.6 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009927/0.7365, allocations: 12 kB / 0.5799 GB, free: 13.59 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000672/0.7372, allocations: 15.98 kB / 0.5799 GB, free: 13.57 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/0.7373, allocations: 43.83 kB / 0.58 GB, free: 13.53 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.113e-05/0.7373, allocations: 12 kB / 0.58 GB, free: 13.52 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007088/0.738, allocations: 391 kB / 0.5803 GB, free: 13.13 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.738, allocations: 0 / 0.5803 GB, free: 13.13 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004463/0.7425, allocations: 1.13 MB / 0.5814 GB, free: 12 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.005814/0.7483, allocations: 0.9937 MB / 0.5824 GB, free: 11 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00162/0.7499, allocations: 359.4 kB / 0.5828 GB, free: 10.64 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.7499, allocations: 0 / 0.5828 GB, free: 10.64 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004657/0.7504, allocations: 117.1 kB / 0.5829 GB, free: 10.53 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003352/0.7538, allocations: 374 kB / 0.5832 GB, free: 10.18 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002754/0.7565, allocations: 1.139 MB / 0.5843 GB, free: 8.949 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005279/0.757, allocations: 314.2 kB / 0.5846 GB, free: 8.609 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001947/0.759, allocations: 0.8425 MB / 0.5855 GB, free: 7.762 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002259/0.7592, allocations: 56.47 kB / 0.5855 GB, free: 7.707 MB / 494.1 MB Notification: Performance of SimCode: time 6.62e-07/0.7592, allocations: 7.938 kB / 0.5855 GB, free: 7.699 MB / 494.1 MB Notification: Performance of Templates: time 0.1218/0.881, allocations: 38.32 MB / 0.6229 GB, free: 1.566 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 cvode -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.018546919920482] Failed to read output from testmodel.py, exit status != 0: 0.9267000660765916 0.939993733 0.23670391599999996 Calling exit ...