Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.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.0009258/0.0009258, allocations: 83.69 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0009678/0.0009678, allocations: 170 kB / 23.95 MB, free: 0.6172 MB / 18.57 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 0.8416/0.8416, allocations: 158.6 MB / 185.7 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] 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.1741/0.1741, allocations: 36.34 MB / 274.3 MB, free: 10.92 MB / 266.7 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: "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestJoin,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestJoin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestJoin,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestJoin",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 414.3 MB, free: 6.094 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.315e-05/1.475e-05, allocations: 6.219 kB / 414.3 MB, free: 6.086 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestJoin): time 0.2341/0.2341, allocations: 97.58 MB / 0.4999 GB, free: 11.88 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0114/0.2455, allocations: 10.32 MB / 0.51 GB, free: 1.531 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006493/0.2461, allocations: 27.75 kB / 0.51 GB, free: 1.504 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001121/0.2472, allocations: 0.5354 MB / 0.5106 GB, free: 0.9648 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007979/0.248, allocations: 0.6556 MB / 0.5112 GB, free: 312 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01051/0.2586, allocations: 5.699 MB / 0.5168 GB, free: 10.59 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001419/0.26, allocations: 1.711 MB / 0.5184 GB, free: 8.871 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006639/0.2606, allocations: 0.5204 MB / 0.5189 GB, free: 8.336 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008695/0.2615, allocations: 0.896 MB / 0.5198 GB, free: 7.438 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004663/0.262, allocations: 0.5374 MB / 0.5203 GB, free: 6.898 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 6.682e-05/0.262, allocations: 71.98 kB / 0.5204 GB, free: 6.828 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007751/0.2698, allocations: 6.137 MB / 0.5264 GB, free: 0.6836 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001519/0.2699, allocations: 171.3 kB / 0.5266 GB, free: 0.5156 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002358/0.2702, allocations: 303.4 kB / 0.5269 GB, free: 224 kB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005912/0.2761, allocations: 5.285 MB / 0.532 GB, free: 10.92 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2761, allocations: 0 / 0.532 GB, free: 10.92 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2761, allocations: 0 / 0.532 GB, free: 10.92 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.003e-05/0.2761, allocations: 0 / 0.532 GB, free: 10.92 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 162 * Number of variables: 162 Notification: Performance of Generate backend data structure: time 0.002102/0.2782, allocations: 1.495 MB / 0.5335 GB, free: 9.387 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/0.2783, allocations: 12.03 kB / 0.5335 GB, free: 9.375 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.59e-05/0.2784, allocations: 106.7 kB / 0.5336 GB, free: 9.262 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001878/0.2785, allocations: 112.4 kB / 0.5337 GB, free: 9.152 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005992/0.2791, allocations: 429.9 kB / 0.5341 GB, free: 8.703 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.802e-05/0.2792, allocations: 45.69 kB / 0.5341 GB, free: 8.66 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.077e-05/0.2792, allocations: 64.38 kB / 0.5342 GB, free: 8.598 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001013/0.2803, allocations: 0.8096 MB / 0.535 GB, free: 7.742 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.2803, allocations: 3.938 kB / 0.535 GB, free: 7.738 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.049e-05/0.2803, allocations: 31.94 kB / 0.535 GB, free: 7.707 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/0.2803, allocations: 16 kB / 0.535 GB, free: 7.691 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008355/0.2812, allocations: 0.5904 MB / 0.5356 GB, free: 7.105 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002435/0.2836, allocations: 2.76 MB / 0.5383 GB, free: 4.234 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007612/0.2844, allocations: 457 kB / 0.5388 GB, free: 3.77 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002234/0.2846, allocations: 165.6 kB / 0.5389 GB, free: 3.602 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02728/0.3119, allocations: 16.81 MB / 0.5553 GB, free: 2.77 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.3119, allocations: 38.55 kB / 0.5554 GB, free: 2.723 MB / 458.7 MB Notification: Performance of pre-optimization done (n=32): time 3.176e-06/0.3119, allocations: 0 / 0.5554 GB, free: 2.723 MB / 458.7 MB Notification: Performance of matching and sorting (n=32): time 0.00138/0.3133, allocations: 0.696 MB / 0.556 GB, free: 2.02 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/0.3133, allocations: 89.03 kB / 0.5561 GB, free: 1.914 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003522/0.3137, allocations: 478.9 kB / 0.5566 GB, free: 1.438 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.3137, allocations: 33.64 kB / 0.5566 GB, free: 1.398 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003556/0.314, allocations: 344.2 kB / 0.557 GB, free: 1.059 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.23e-05/0.3141, allocations: 111 kB / 0.5571 GB, free: 0.9492 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.205e-05/0.3142, allocations: 66.02 kB / 0.5571 GB, free: 0.875 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.779e-05/0.3143, allocations: 362.8 kB / 0.5575 GB, free: 0.5117 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002066/0.3145, allocations: 142.1 kB / 0.5576 GB, free: 380 kB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002237/0.3147, allocations: 205.8 kB / 0.5578 GB, free: 144 kB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004259/0.3151, allocations: 337.4 kB / 0.5581 GB, free: 15.78 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.3151, allocations: 4 kB / 0.5581 GB, free: 15.78 MB / 474.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005275/0.3157, allocations: 436.8 kB / 0.5585 GB, free: 15.34 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.3157, allocations: 4 kB / 0.5585 GB, free: 15.34 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.3157, allocations: 8.25 kB / 0.5586 GB, free: 15.33 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.3157, allocations: 4 kB / 0.5586 GB, free: 15.33 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002161/0.3159, allocations: 91.81 kB / 0.5586 GB, free: 15.24 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.3159, allocations: 7.938 kB / 0.5587 GB, free: 15.23 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001864/0.3161, allocations: 59.53 kB / 0.5587 GB, free: 15.17 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.307e-05/0.3161, allocations: 16 kB / 0.5587 GB, free: 15.16 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002292/0.3164, allocations: 228.7 kB / 0.5589 GB, free: 14.93 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001562/0.3165, allocations: 192 kB / 0.5591 GB, free: 14.7 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002851/0.3168, allocations: 298.9 kB / 0.5594 GB, free: 14.37 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.122e-06/0.3168, allocations: 0 / 0.5594 GB, free: 14.37 MB / 474.7 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0003785/0.3172, allocations: 377 kB / 0.5598 GB, free: 14 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.971e-06/0.3172, allocations: 8 kB / 0.5598 GB, free: 13.99 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.367e-06/0.3172, allocations: 4 kB / 0.5598 GB, free: 13.98 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.817e-06/0.3172, allocations: 4 kB / 0.5598 GB, free: 13.98 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001411/0.3174, allocations: 83.89 kB / 0.5599 GB, free: 13.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.3174, allocations: 7.938 kB / 0.5599 GB, free: 13.89 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.3175, allocations: 35.77 kB / 0.5599 GB, free: 13.86 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.44e-05/0.3175, allocations: 16.22 kB / 0.5599 GB, free: 13.84 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 6 (T6.fluidState.phase,T5.fluidState.phase,T4.fluidState.phase,T3.fluidState.phase,T2.fluidState.phase,T1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * 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 9.48e-05/0.3176, allocations: 205.3 kB / 0.5601 GB, free: 13.63 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.79e-05/0.3176, allocations: 63.62 kB / 0.5602 GB, free: 13.57 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001233/0.3189, allocations: 1.641 MB / 0.5618 GB, free: 11.91 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.719e-05/0.3189, allocations: 23.97 kB / 0.5618 GB, free: 11.89 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.3189, allocations: 7.875 kB / 0.5618 GB, free: 11.88 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.3189, allocations: 4 kB / 0.5618 GB, free: 11.88 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006623/0.3196, allocations: 0.9171 MB / 0.5627 GB, free: 10.92 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.3196, allocations: 0 / 0.5627 GB, free: 10.92 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001646/0.3197, allocations: 64.77 kB / 0.5628 GB, free: 10.86 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.3197, allocations: 0 / 0.5628 GB, free: 10.86 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.006e-05/0.3197, allocations: 15.98 kB / 0.5628 GB, free: 10.84 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.3197, allocations: 4 kB / 0.5628 GB, free: 10.84 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.3197, allocations: 3.938 kB / 0.5628 GB, free: 10.84 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007593/0.3205, allocations: 1 MB / 0.5638 GB, free: 9.824 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003765/0.3209, allocations: 135 kB / 0.5639 GB, free: 9.691 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.115e-05/0.3209, allocations: 8.875 kB / 0.5639 GB, free: 9.684 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001432/0.3211, allocations: 11.98 kB / 0.5639 GB, free: 9.672 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.849e-05/0.3212, allocations: 51.86 kB / 0.564 GB, free: 9.621 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.3212, allocations: 8 kB / 0.564 GB, free: 9.613 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002067/0.3214, allocations: 330.8 kB / 0.5643 GB, free: 9.289 MB / 474.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3214, allocations: 0 / 0.5643 GB, free: 9.289 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001911/0.3233, allocations: 1.068 MB / 0.5653 GB, free: 8.219 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 12 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.00308/0.3264, allocations: 2.562 MB / 0.5678 GB, free: 5.629 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0008011/0.3272, allocations: 0.6375 MB / 0.5685 GB, free: 4.996 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3272, allocations: 3.938 kB / 0.5685 GB, free: 4.992 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003396/0.3275, allocations: 346.7 kB / 0.5688 GB, free: 4.652 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009321/0.3284, allocations: 318.4 kB / 0.5691 GB, free: 4.34 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005262/0.3337, allocations: 5.198 MB / 0.5742 GB, free: 14.99 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002532/0.334, allocations: 396.5 kB / 0.5746 GB, free: 14.57 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004465/0.3344, allocations: 387.7 kB / 0.5749 GB, free: 14.19 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002683/0.3347, allocations: 308.4 kB / 0.5752 GB, free: 13.88 MB / 490.7 MB Notification: Performance of SimCode: time 9.82e-07/0.3347, allocations: 0 / 0.5752 GB, free: 13.88 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2099/0.5446, allocations: 48.27 MB / 0.6224 GB, free: 183.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.367/8.911, allocations: 1.438 kB / 0.6224 GB, free: 183.4 MB / 0.5105 GB " [Timeout remaining time 651] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.sim & python3 -m fmpy simulate --output-file ThermoPower_ThermoPower.Test.WaterComponents.TestJoin_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ThermoPower_ThermoPower_Test_WaterComponents_TestJoin.fmu > ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.038417694158852] Failed to read output from testmodel.py, exit status != 0: 9.016762621700764 9.026312884 8.748398422 Calling exit ...