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.0008333/0.0008333, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.001293/0.001293, allocations: 170.3 kB / 23.95 MB, free: 0.6094 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.811/0.811, allocations: 158.6 MB / 185.7 MB, free: 3.039 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.1674/0.1674, allocations: 36.34 MB / 274.3 MB, free: 10.91 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 2.945e-06/2.945e-06, allocations: 0 / 414.3 MB, free: 6.086 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.776e-05/4.071e-05, allocations: 10.22 kB / 414.4 MB, free: 6.074 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestJoin): time 0.228/0.228, allocations: 97.57 MB / 0.4999 GB, free: 11.86 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00922/0.2372, allocations: 10.32 MB / 0.51 GB, free: 1.504 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000588/0.2378, allocations: 27.75 kB / 0.51 GB, free: 1.477 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001073/0.2389, allocations: 0.5353 MB / 0.5105 GB, free: 0.9375 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000697/0.2396, allocations: 0.6479 MB / 0.5112 GB, free: 292 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009917/0.2495, allocations: 5.711 MB / 0.5168 GB, free: 10.55 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001363/0.2509, allocations: 1.707 MB / 0.5184 GB, free: 8.84 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005477/0.2514, allocations: 0.5203 MB / 0.5189 GB, free: 8.309 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007058/0.2521, allocations: 0.8921 MB / 0.5198 GB, free: 7.414 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004246/0.2525, allocations: 0.5452 MB / 0.5203 GB, free: 6.867 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 6.184e-05/0.2526, allocations: 68 kB / 0.5204 GB, free: 6.801 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007338/0.2599, allocations: 6.134 MB / 0.5264 GB, free: 0.6602 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001335/0.2601, allocations: 167.3 kB / 0.5266 GB, free: 0.4961 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002106/0.2603, allocations: 303.4 kB / 0.5268 GB, free: 204 kB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005467/0.2657, allocations: 5.289 MB / 0.532 GB, free: 10.9 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2657, allocations: 4 kB / 0.532 GB, free: 10.89 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2658, allocations: 0 / 0.532 GB, free: 10.89 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.095e-05/0.2658, allocations: 0 / 0.532 GB, free: 10.89 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.002051/0.2678, allocations: 1.492 MB / 0.5335 GB, free: 9.363 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.2679, allocations: 12.03 kB / 0.5335 GB, free: 9.352 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.653e-05/0.2679, allocations: 110.6 kB / 0.5336 GB, free: 9.234 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001784/0.2681, allocations: 112.3 kB / 0.5337 GB, free: 9.125 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004996/0.2686, allocations: 426 kB / 0.5341 GB, free: 8.68 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.748e-05/0.2686, allocations: 49.62 kB / 0.5341 GB, free: 8.633 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.322e-05/0.2687, allocations: 60.38 kB / 0.5342 GB, free: 8.574 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009684/0.2697, allocations: 0.8109 MB / 0.535 GB, free: 7.715 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.2697, allocations: 6.656 kB / 0.535 GB, free: 7.711 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.076e-05/0.2697, allocations: 31.94 kB / 0.535 GB, free: 7.68 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.274e-05/0.2697, allocations: 16 kB / 0.535 GB, free: 7.664 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008453/0.2706, allocations: 0.5866 MB / 0.5356 GB, free: 7.078 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002363/0.2729, allocations: 2.76 MB / 0.5383 GB, free: 4.211 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000761/0.2737, allocations: 469 kB / 0.5388 GB, free: 3.734 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002185/0.2739, allocations: 157.6 kB / 0.5389 GB, free: 3.574 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02737/0.3013, allocations: 16.82 MB / 0.5553 GB, free: 2.738 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.3013, allocations: 34.56 kB / 0.5554 GB, free: 2.695 MB / 458.7 MB Notification: Performance of pre-optimization done (n=32): time 2.866e-06/0.3013, allocations: 4 kB / 0.5554 GB, free: 2.691 MB / 458.7 MB Notification: Performance of matching and sorting (n=32): time 0.001388/0.3027, allocations: 0.696 MB / 0.5561 GB, free: 1.988 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/0.3028, allocations: 85.05 kB / 0.5561 GB, free: 1.887 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003868/0.3031, allocations: 478.9 kB / 0.5566 GB, free: 1.41 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.682e-05/0.3032, allocations: 29.7 kB / 0.5566 GB, free: 1.375 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001793/0.3033, allocations: 340.2 kB / 0.5569 GB, free: 1.039 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.614e-05/0.3034, allocations: 111 kB / 0.557 GB, free: 0.9297 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.129e-05/0.3035, allocations: 74.02 kB / 0.5571 GB, free: 0.8477 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.3036, allocations: 366.8 kB / 0.5575 GB, free: 492 kB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002236/0.3038, allocations: 138.1 kB / 0.5576 GB, free: 352 kB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002379/0.3041, allocations: 205.8 kB / 0.5578 GB, free: 116 kB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000452/0.3045, allocations: 337.5 kB / 0.5581 GB, free: 15.75 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3045, allocations: 0 / 0.5581 GB, free: 15.75 MB / 474.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005555/0.3051, allocations: 436.9 kB / 0.5585 GB, free: 15.32 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.3051, allocations: 7.984 kB / 0.5585 GB, free: 15.31 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.3051, allocations: 4 kB / 0.5585 GB, free: 15.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.3051, allocations: 4 kB / 0.5585 GB, free: 15.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002241/0.3053, allocations: 91.81 kB / 0.5586 GB, free: 15.21 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.3054, allocations: 7.938 kB / 0.5586 GB, free: 15.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001824/0.3055, allocations: 67.73 kB / 0.5587 GB, free: 15.14 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.38e-05/0.3056, allocations: 12 kB / 0.5587 GB, free: 15.12 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003773/0.3059, allocations: 228.7 kB / 0.5589 GB, free: 14.9 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001571/0.3061, allocations: 184 kB / 0.5591 GB, free: 14.68 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003013/0.3064, allocations: 302.9 kB / 0.5594 GB, free: 14.34 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.353e-06/0.3064, allocations: 0 / 0.5594 GB, free: 14.34 MB / 474.7 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.000401/0.3068, allocations: 380.9 kB / 0.5598 GB, free: 13.96 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.3068, allocations: 8 kB / 0.5598 GB, free: 13.96 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.3068, allocations: 4 kB / 0.5598 GB, free: 13.95 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.62e-06/0.3068, allocations: 4 kB / 0.5598 GB, free: 13.95 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001512/0.307, allocations: 84.23 kB / 0.5599 GB, free: 13.87 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.307, allocations: 11.98 kB / 0.5599 GB, free: 13.86 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001139/0.3071, allocations: 31.78 kB / 0.5599 GB, free: 13.82 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.593e-05/0.3071, allocations: 19.98 kB / 0.5599 GB, free: 13.8 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 0.0001083/0.3072, allocations: 197.2 kB / 0.5601 GB, free: 13.61 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.578e-05/0.3073, allocations: 63.62 kB / 0.5602 GB, free: 13.54 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00122/0.3085, allocations: 1.645 MB / 0.5618 GB, free: 11.88 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.865e-05/0.3085, allocations: 19.97 kB / 0.5618 GB, free: 11.86 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.3085, allocations: 7.875 kB / 0.5618 GB, free: 11.86 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.3085, allocations: 7.984 kB / 0.5618 GB, free: 11.85 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006708/0.3092, allocations: 0.9092 MB / 0.5627 GB, free: 10.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.3092, allocations: 3.938 kB / 0.5627 GB, free: 10.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001688/0.3094, allocations: 68.81 kB / 0.5628 GB, free: 10.83 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.3094, allocations: 0 / 0.5628 GB, free: 10.83 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.716e-05/0.3094, allocations: 8 kB / 0.5628 GB, free: 10.82 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3094, allocations: 4 kB / 0.5628 GB, free: 10.82 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.3094, allocations: 11.88 kB / 0.5628 GB, free: 10.81 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007725/0.3102, allocations: 1.004 MB / 0.5638 GB, free: 9.793 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001259/0.3103, allocations: 127 kB / 0.5639 GB, free: 9.668 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.83e-05/0.3103, allocations: 4.875 kB / 0.5639 GB, free: 9.664 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001523/0.3105, allocations: 19.97 kB / 0.5639 GB, free: 9.645 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.67e-05/0.3106, allocations: 43.88 kB / 0.564 GB, free: 9.602 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-05/0.3106, allocations: 15.98 kB / 0.564 GB, free: 9.586 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002132/0.3108, allocations: 330.9 kB / 0.5643 GB, free: 9.262 MB / 474.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3108, allocations: 0 / 0.5643 GB, free: 9.262 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001929/0.3127, allocations: 1.068 MB / 0.5653 GB, free: 8.191 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.003228/0.316, allocations: 2.57 MB / 0.5678 GB, free: 5.594 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0008286/0.3168, allocations: 0.6306 MB / 0.5685 GB, free: 4.969 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3168, allocations: 8 kB / 0.5685 GB, free: 4.961 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004191/0.3172, allocations: 341.7 kB / 0.5688 GB, free: 4.625 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009419/0.3182, allocations: 318.6 kB / 0.5691 GB, free: 4.312 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00508/0.3232, allocations: 5.202 MB / 0.5742 GB, free: 14.96 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002416/0.3235, allocations: 396.5 kB / 0.5746 GB, free: 14.54 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004679/0.3239, allocations: 383.7 kB / 0.5749 GB, free: 14.16 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002668/0.3242, allocations: 308.4 kB / 0.5752 GB, free: 13.86 MB / 490.7 MB Notification: Performance of SimCode: time 6.31e-07/0.3242, allocations: 0 / 0.5752 GB, free: 13.86 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1978/0.522, allocations: 48.28 MB / 0.6224 GB, free: 183.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.57/9.092, allocations: 0 / 0.6224 GB, free: 183.5 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_WaterComponents_TestJoin_fmu --startTime=0 --stopTime=4 --stepSize=0.0016 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_WaterComponents_TestJoin.fmu > ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.112790485844016] Failed to read output from testmodel.py, exit status != 0: 9.203591604717076 9.213314762 8.945356829 Calling exit ...