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.001425/0.001425, allocations: 76.83 kB / 20.52 MB, free: 1.367 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.001589/0.001589, allocations: 164.9 kB / 23.78 MB, free: 4.539 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.437/1.437, allocations: 177.2 MB / 204.2 MB, free: 9.277 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.1402/0.1402, allocations: 19.7 MB / 280.3 MB, free: 13.05 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.002157/0.002157, allocations: 67.89 kB / 416.9 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2582/0.2603, allocations: 60.46 MB / 477.3 MB, free: 15.55 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoeffValve): time 0.08033/0.3407, allocations: 71.27 MB / 0.5357 GB, free: 10.8 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01504/0.3557, allocations: 10.1 MB / 0.5456 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006402/0.3564, allocations: 35.62 kB / 0.5456 GB, free: 0.6211 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001063/0.3574, allocations: 385.2 kB / 0.546 GB, free: 248 kB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00123/0.3586, allocations: 0.5549 MB / 0.5465 GB, free: 15.68 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01608/0.3747, allocations: 5.962 MB / 0.5524 GB, free: 9.719 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002149/0.3769, allocations: 1.543 MB / 0.5539 GB, free: 8.168 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006015/0.3775, allocations: 370.1 kB / 0.5542 GB, free: 7.789 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001003/0.3785, allocations: 0.7749 MB / 0.555 GB, free: 7.012 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007045/0.3792, allocations: 0.5054 MB / 0.5555 GB, free: 6.504 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.052e-05/0.3793, allocations: 48 kB / 0.5555 GB, free: 6.457 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01157/0.3908, allocations: 6.08 MB / 0.5615 GB, free: 380 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002207/0.3911, allocations: 143.3 kB / 0.5616 GB, free: 236 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005315/0.3916, allocations: 366.3 kB / 0.5619 GB, free: 15.87 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007899/0.3995, allocations: 4.212 MB / 0.5661 GB, free: 11.65 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3995, allocations: 0 / 0.5661 GB, free: 11.65 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.3995, allocations: 0 / 0.5661 GB, free: 11.65 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.086e-05/0.3995, allocations: 0 / 0.5661 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.004097/0.4036, allocations: 1.631 MB / 0.5676 GB, free: 9.977 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.4036, allocations: 12.03 kB / 0.5677 GB, free: 9.965 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004399/0.4041, allocations: 132.3 kB / 0.5678 GB, free: 9.836 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009559/0.405, allocations: 0.5135 MB / 0.5683 GB, free: 9.297 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002715/0.4053, allocations: 283.5 kB / 0.5686 GB, free: 8.973 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.368e-05/0.4054, allocations: 56.12 kB / 0.5686 GB, free: 8.918 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001728/0.4071, allocations: 0.7308 MB / 0.5693 GB, free: 8.141 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.013e-05/0.4071, allocations: 7.938 kB / 0.5693 GB, free: 8.133 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.675e-05/0.4072, allocations: 28 kB / 0.5694 GB, free: 8.105 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.468e-05/0.4072, allocations: 12 kB / 0.5694 GB, free: 8.094 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001576/0.4088, allocations: 0.6166 MB / 0.57 GB, free: 7.477 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.003216/0.412, allocations: 2.154 MB / 0.5721 GB, free: 5.25 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009497/0.413, allocations: 293.9 kB / 0.5724 GB, free: 4.926 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002756/0.4132, allocations: 107.4 kB / 0.5725 GB, free: 4.809 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.735e-05/0.4133, allocations: 4 kB / 0.5725 GB, free: 4.805 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.282e-05/0.4133, allocations: 38.56 kB / 0.5725 GB, free: 4.758 MB / 478.1 MB Notification: Performance of pre-optimization done (n=28): time 2.034e-06/0.4133, allocations: 0 / 0.5725 GB, free: 4.758 MB / 478.1 MB Notification: Performance of matching and sorting (n=28): time 0.002311/0.4156, allocations: 0.6145 MB / 0.5731 GB, free: 4.137 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.021e-05/0.4157, allocations: 132.5 kB / 0.5732 GB, free: 3.977 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006181/0.4163, allocations: 0.5108 MB / 0.5737 GB, free: 3.453 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.124e-05/0.4164, allocations: 29.7 kB / 0.5737 GB, free: 3.418 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002897/0.4167, allocations: 372.9 kB / 0.5741 GB, free: 3.051 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/0.4168, allocations: 107 kB / 0.5742 GB, free: 2.945 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001275/0.4169, allocations: 77.67 kB / 0.5743 GB, free: 2.863 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002059/0.4171, allocations: 370.7 kB / 0.5746 GB, free: 2.492 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002811/0.4174, allocations: 96.81 kB / 0.5747 GB, free: 2.395 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003238/0.4177, allocations: 132.1 kB / 0.5749 GB, free: 2.254 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005539/0.4183, allocations: 212.5 kB / 0.5751 GB, free: 2.035 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.4183, allocations: 0 / 0.5751 GB, free: 2.035 MB / 478.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0007987/0.4191, allocations: 345 kB / 0.5754 GB, free: 1.691 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.4191, allocations: 4 kB / 0.5754 GB, free: 1.688 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.4191, allocations: 0 / 0.5754 GB, free: 1.688 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.4191, allocations: 4 kB / 0.5754 GB, free: 1.684 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004323/0.4195, allocations: 79.88 kB / 0.5755 GB, free: 1.605 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.4195, allocations: 4 kB / 0.5755 GB, free: 1.602 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003538/0.4199, allocations: 27.83 kB / 0.5755 GB, free: 1.574 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.212e-05/0.4199, allocations: 12 kB / 0.5755 GB, free: 1.562 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004004/0.4203, allocations: 220 kB / 0.5757 GB, free: 1.344 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003011/0.4206, allocations: 161.2 kB / 0.5759 GB, free: 1.152 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005324/0.4212, allocations: 229.3 kB / 0.5761 GB, free: 0.8945 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.958e-06/0.4212, allocations: 4 kB / 0.5761 GB, free: 0.8906 MB / 478.1 MB Notification: Performance of matching and sorting (n=35) (initialization_lambda0): time 0.0007529/0.4219, allocations: 340.9 kB / 0.5764 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.879e-06/0.4219, allocations: 7.984 kB / 0.5764 GB, free: 0.543 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.4219, allocations: 4 kB / 0.5764 GB, free: 0.5391 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.661e-06/0.4219, allocations: 4 kB / 0.5764 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003434/0.4223, allocations: 76.11 kB / 0.5765 GB, free: 472 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.34e-05/0.4223, allocations: 11.94 kB / 0.5765 GB, free: 460 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003023/0.4226, allocations: 20.16 kB / 0.5765 GB, free: 440 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.95e-05/0.4226, allocations: 16 kB / 0.5766 GB, free: 424 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.000159/0.4228, allocations: 208.1 kB / 0.5768 GB, free: 208 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001535/0.4229, allocations: 63.56 kB / 0.5768 GB, free: 144 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007788/0.4237, allocations: 318.3 kB / 0.5771 GB, free: 15.82 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/0.4237, allocations: 4 kB / 0.5771 GB, free: 15.82 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.4237, allocations: 3.984 kB / 0.5771 GB, free: 15.81 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.4237, allocations: 4 kB / 0.5771 GB, free: 15.81 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001976/0.4257, allocations: 1.2 MB / 0.5783 GB, free: 14.52 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.4257, allocations: 4 kB / 0.5783 GB, free: 14.52 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002275/0.4259, allocations: 59.91 kB / 0.5784 GB, free: 14.46 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.125e-06/0.426, allocations: 8.5 kB / 0.5784 GB, free: 14.45 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.863e-05/0.426, allocations: 23.98 kB / 0.5784 GB, free: 14.43 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.484e-06/0.426, allocations: 8 kB / 0.5784 GB, free: 14.42 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.594e-06/0.426, allocations: 7.938 kB / 0.5784 GB, free: 14.41 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008413/0.4268, allocations: 0.7024 MB / 0.5791 GB, free: 13.64 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/0.4269, allocations: 67.5 kB / 0.5792 GB, free: 13.57 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.483e-05/0.427, allocations: 15.98 kB / 0.5792 GB, free: 13.56 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000415/0.4274, allocations: 4 kB / 0.5792 GB, free: 13.55 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.809e-05/0.4275, allocations: 43.83 kB / 0.5792 GB, free: 13.51 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.204e-05/0.4275, allocations: 23.98 kB / 0.5792 GB, free: 13.49 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004689/0.428, allocations: 379.1 kB / 0.5796 GB, free: 13.11 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.428, allocations: 7.938 kB / 0.5796 GB, free: 13.11 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002794/0.4308, allocations: 1.13 MB / 0.5807 GB, free: 11.97 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.003245/0.4341, allocations: 0.9976 MB / 0.5817 GB, free: 10.96 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009515/0.435, allocations: 351.5 kB / 0.582 GB, free: 10.62 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.435, allocations: 0 / 0.582 GB, free: 10.62 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002676/0.4353, allocations: 116.6 kB / 0.5821 GB, free: 10.51 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002111/0.4374, allocations: 375 kB / 0.5825 GB, free: 10.15 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001934/0.4393, allocations: 1.143 MB / 0.5836 GB, free: 8.922 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003869/0.4397, allocations: 314.2 kB / 0.5839 GB, free: 8.582 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001244/0.4409, allocations: 0.8385 MB / 0.5847 GB, free: 7.738 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001518/0.4411, allocations: 56.48 kB / 0.5848 GB, free: 7.684 MB / 494.1 MB Notification: Performance of SimCode: time 1.052e-06/0.4411, allocations: 0 / 0.5848 GB, free: 7.684 MB / 494.1 MB Notification: Performance of Templates: time 0.05696/0.4981, allocations: 38.33 MB / 0.6222 GB, free: 1.535 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 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.139955410733819] Failed to read output from testmodel.py, exit status != 0: 0.5073247868567705 0.5223166690000001 0.11949224500000001 Calling exit ...