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.0013/0.0013, allocations: 75.28 kB / 21.28 MB, free: 384 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.001409/0.001409, allocations: 163.6 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 1.428/1.428, allocations: 177.2 MB / 204.9 MB, free: 9.246 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.14/0.14, allocations: 19.7 MB / 281 MB, free: 13.03 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.002074/0.002074, allocations: 67.91 kB / 417.6 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2661/0.2682, allocations: 60.45 MB / 478.1 MB, free: 15.54 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoeffValve): time 0.08509/0.3533, allocations: 71.27 MB / 0.5365 GB, free: 10.79 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0154/0.3687, allocations: 10.1 MB / 0.5463 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008415/0.3695, allocations: 35.62 kB / 0.5464 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001371/0.3709, allocations: 389.1 kB / 0.5467 GB, free: 228 kB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00157/0.3725, allocations: 0.5473 MB / 0.5473 GB, free: 15.67 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01639/0.3888, allocations: 5.967 MB / 0.5531 GB, free: 9.703 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002296/0.3911, allocations: 1.54 MB / 0.5546 GB, free: 8.156 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007686/0.3919, allocations: 374 kB / 0.555 GB, free: 7.773 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001412/0.3933, allocations: 0.7749 MB / 0.5557 GB, free: 6.996 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009082/0.3942, allocations: 0.5016 MB / 0.5562 GB, free: 6.492 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001368/0.3944, allocations: 48 kB / 0.5562 GB, free: 6.445 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0122/0.4066, allocations: 6.072 MB / 0.5622 GB, free: 376 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002765/0.4068, allocations: 155.2 kB / 0.5623 GB, free: 220 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006832/0.4075, allocations: 366.4 kB / 0.5627 GB, free: 15.86 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009447/0.417, allocations: 4.22 MB / 0.5668 GB, free: 11.62 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.417, allocations: 0 / 0.5668 GB, free: 11.62 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.417, allocations: 0 / 0.5668 GB, free: 11.62 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.931e-05/0.417, allocations: 0 / 0.5668 GB, free: 11.62 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.004639/0.4217, allocations: 1.627 MB / 0.5684 GB, free: 9.957 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.4217, allocations: 8.031 kB / 0.5684 GB, free: 9.949 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004737/0.4222, allocations: 136.3 kB / 0.5685 GB, free: 9.816 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001009/0.4232, allocations: 0.5134 MB / 0.569 GB, free: 9.277 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002657/0.4234, allocations: 283.5 kB / 0.5693 GB, free: 8.953 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.534e-05/0.4235, allocations: 60.11 kB / 0.5693 GB, free: 8.895 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001706/0.4252, allocations: 0.727 MB / 0.5701 GB, free: 8.121 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.912e-05/0.4252, allocations: 7.984 kB / 0.5701 GB, free: 8.113 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.816e-05/0.4253, allocations: 20 kB / 0.5701 GB, free: 8.094 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.412e-05/0.4253, allocations: 16 kB / 0.5701 GB, free: 8.078 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00156/0.4269, allocations: 0.6204 MB / 0.5707 GB, free: 7.457 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.003254/0.4301, allocations: 2.146 MB / 0.5728 GB, free: 5.238 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009397/0.4311, allocations: 290 kB / 0.5731 GB, free: 4.918 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002836/0.4314, allocations: 115.3 kB / 0.5732 GB, free: 4.793 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.818e-05/0.4314, allocations: 8 kB / 0.5732 GB, free: 4.785 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.796e-05/0.4314, allocations: 38.56 kB / 0.5732 GB, free: 4.738 MB / 478.1 MB Notification: Performance of pre-optimization done (n=28): time 2.395e-06/0.4314, allocations: 0 / 0.5732 GB, free: 4.738 MB / 478.1 MB Notification: Performance of matching and sorting (n=28): time 0.002265/0.4337, allocations: 0.6184 MB / 0.5738 GB, free: 4.113 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.647e-05/0.4338, allocations: 132.5 kB / 0.574 GB, free: 3.953 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006257/0.4344, allocations: 0.507 MB / 0.5745 GB, free: 3.434 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.782e-05/0.4345, allocations: 29.7 kB / 0.5745 GB, free: 3.398 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002878/0.4347, allocations: 376.9 kB / 0.5748 GB, free: 3.027 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/0.4348, allocations: 99.11 kB / 0.5749 GB, free: 2.93 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001228/0.435, allocations: 69.67 kB / 0.575 GB, free: 2.855 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002027/0.4352, allocations: 374.7 kB / 0.5754 GB, free: 2.48 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002732/0.4354, allocations: 100.8 kB / 0.5755 GB, free: 2.379 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003079/0.4358, allocations: 136.1 kB / 0.5756 GB, free: 2.234 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005335/0.4363, allocations: 216.4 kB / 0.5758 GB, free: 2.012 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.4363, allocations: 0 / 0.5758 GB, free: 2.012 MB / 478.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0008001/0.4371, allocations: 341 kB / 0.5761 GB, free: 1.672 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.4371, allocations: 4 kB / 0.5761 GB, free: 1.668 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.4371, allocations: 0 / 0.5761 GB, free: 1.668 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.4371, allocations: 4 kB / 0.5761 GB, free: 1.664 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004535/0.4376, allocations: 79.88 kB / 0.5762 GB, free: 1.586 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.4376, allocations: 0 / 0.5762 GB, free: 1.586 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003585/0.4379, allocations: 31.83 kB / 0.5762 GB, free: 1.555 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.683e-05/0.438, allocations: 15.98 kB / 0.5763 GB, free: 1.539 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004551/0.4384, allocations: 216.9 kB / 0.5765 GB, free: 1.324 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003128/0.4388, allocations: 165.3 kB / 0.5766 GB, free: 1.129 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005015/0.4393, allocations: 225.2 kB / 0.5768 GB, free: 0.875 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.225e-06/0.4393, allocations: 4 kB / 0.5768 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of matching and sorting (n=35) (initialization_lambda0): time 0.0007393/0.44, allocations: 340.9 kB / 0.5772 GB, free: 0.5312 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/0.44, allocations: 4 kB / 0.5772 GB, free: 0.5273 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.44, allocations: 4 kB / 0.5772 GB, free: 0.5234 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.091e-06/0.44, allocations: 4 kB / 0.5772 GB, free: 0.5195 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000347/0.4404, allocations: 79.83 kB / 0.5772 GB, free: 452 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.4404, allocations: 4 kB / 0.5773 GB, free: 448 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003202/0.4407, allocations: 20.09 kB / 0.5773 GB, free: 428 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.324e-05/0.4407, allocations: 23.98 kB / 0.5773 GB, free: 404 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.0001716/0.4409, allocations: 204.4 kB / 0.5775 GB, free: 192 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001705/0.4411, allocations: 59.62 kB / 0.5775 GB, free: 132 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007803/0.4418, allocations: 326.2 kB / 0.5779 GB, free: 15.8 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.4419, allocations: 7.938 kB / 0.5779 GB, free: 15.79 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.4419, allocations: 0 / 0.5779 GB, free: 15.79 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.4419, allocations: 4 kB / 0.5779 GB, free: 15.79 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00198/0.4438, allocations: 1.192 MB / 0.579 GB, free: 14.51 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.191e-06/0.4439, allocations: 8 kB / 0.579 GB, free: 14.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002285/0.4441, allocations: 67.83 kB / 0.5791 GB, free: 14.43 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.128e-05/0.4441, allocations: 8 kB / 0.5791 GB, free: 14.43 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.706e-05/0.4441, allocations: 12.5 kB / 0.5791 GB, free: 14.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.808e-05/0.4441, allocations: 11.98 kB / 0.5791 GB, free: 14.4 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/0.4441, allocations: 11.94 kB / 0.5791 GB, free: 14.39 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008689/0.445, allocations: 0.6976 MB / 0.5798 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001226/0.4451, allocations: 67.5 kB / 0.5799 GB, free: 13.56 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.988e-05/0.4452, allocations: 16.17 kB / 0.5799 GB, free: 13.54 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003772/0.4456, allocations: 8 kB / 0.5799 GB, free: 13.54 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.024e-05/0.4457, allocations: 47.81 kB / 0.58 GB, free: 13.49 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.75e-05/0.4457, allocations: 15.98 kB / 0.58 GB, free: 13.47 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004616/0.4462, allocations: 383.1 kB / 0.5803 GB, free: 13.09 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4462, allocations: 4 kB / 0.5803 GB, free: 13.09 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003032/0.4492, allocations: 1.134 MB / 0.5815 GB, free: 11.95 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.003942/0.4531, allocations: 0.9971 MB / 0.5824 GB, free: 10.95 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001004/0.4541, allocations: 351.4 kB / 0.5828 GB, free: 10.61 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.4542, allocations: 0 / 0.5828 GB, free: 10.61 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002856/0.4544, allocations: 117.1 kB / 0.5829 GB, free: 10.49 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002136/0.4566, allocations: 378.8 kB / 0.5832 GB, free: 10.13 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002037/0.4586, allocations: 1.175 MB / 0.5844 GB, free: 8.859 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003663/0.459, allocations: 318.2 kB / 0.5847 GB, free: 8.516 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000188/0.4592, allocations: 64.47 kB / 0.5847 GB, free: 8.453 MB / 494.1 MB Notification: Performance of SimCode: time 9.72e-07/0.4592, allocations: 0 / 0.5847 GB, free: 8.453 MB / 494.1 MB Notification: Performance of Templates: time 0.03824/0.4974, allocations: 23.83 MB / 0.608 GB, free: 0.6445 MB / 0.4981 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: 9.53586017107591] Failed to read output from testmodel.py, exit status != 0: 0.5065993249882013 0.521711624 0.101377717 Calling exit ...