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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 107.9 kB / 17.06 MB, free: 5.82 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 195.9 kB / 18 MB, free: 4.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.356/1.356, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2772/0.2772, allocations: 48.85 MB / 320.1 MB, free: 11.01 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002076/0.002076, allocations: 75.89 kB / 450.1 MB, free: 9.035 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1061, allocations: 59.15 MB / 0.4973 GB, free: 13.76 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestJoin): time 0.3025/0.4086, allocations: 107.3 MB / 0.6021 GB, free: 11.77 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01465/0.4233, allocations: 11.56 MB / 0.6134 GB, free: 2.383 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009043/0.4242, allocations: 25.69 kB / 0.6134 GB, free: 2.371 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001743/0.426, allocations: 0.5484 MB / 0.6139 GB, free: 1.891 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001438/0.4275, allocations: 0.619 MB / 0.6145 GB, free: 1.371 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01467/0.4421, allocations: 5.655 MB / 0.6201 GB, free: 12.55 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002805/0.445, allocations: 1.65 MB / 0.6217 GB, free: 10.9 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001106/0.4461, allocations: 0.633 MB / 0.6223 GB, free: 10.25 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001065/0.4472, allocations: 0.6383 MB / 0.6229 GB, free: 9.613 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007514/0.4479, allocations: 0.6302 MB / 0.6235 GB, free: 8.98 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000111/0.448, allocations: 68 kB / 0.6236 GB, free: 8.914 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01261/0.4607, allocations: 6.431 MB / 0.6299 GB, free: 2.477 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002989/0.461, allocations: 163.4 kB / 0.63 GB, free: 2.316 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000638/0.4616, allocations: 434 kB / 0.6304 GB, free: 1.891 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009815/0.4715, allocations: 4.31 MB / 0.6347 GB, free: 13.57 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.371e-06/0.4715, allocations: 4 kB / 0.6347 GB, free: 13.57 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.4715, allocations: 0 / 0.6347 GB, free: 13.57 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.171e-05/0.4715, allocations: 0 / 0.6347 GB, free: 13.57 MB / 494.1 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.003894/0.4754, allocations: 1.579 MB / 0.6362 GB, free: 11.93 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.4755, allocations: 15.89 kB / 0.6362 GB, free: 11.92 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001218/0.4756, allocations: 106.7 kB / 0.6363 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003165/0.4759, allocations: 116.3 kB / 0.6364 GB, free: 11.69 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007188/0.4767, allocations: 497.8 kB / 0.6369 GB, free: 11.16 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.299e-05/0.4767, allocations: 49.69 kB / 0.6369 GB, free: 11.12 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.37e-05/0.4768, allocations: 64.31 kB / 0.637 GB, free: 11.05 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00164/0.4785, allocations: 0.8179 MB / 0.6378 GB, free: 10.18 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.4785, allocations: 3.938 kB / 0.6378 GB, free: 10.18 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.425e-05/0.4786, allocations: 28 kB / 0.6378 GB, free: 10.15 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.754e-05/0.4786, allocations: 16 kB / 0.6379 GB, free: 10.14 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001454/0.48, allocations: 0.5904 MB / 0.6384 GB, free: 9.547 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004141/0.4842, allocations: 4.392 MB / 0.6427 GB, free: 4.695 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001366/0.4856, allocations: 0.4889 MB / 0.6432 GB, free: 4.188 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003977/0.486, allocations: 177.6 kB / 0.6434 GB, free: 4.008 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06462/0.5506, allocations: 32.13 MB / 0.6747 GB, free: 56 kB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.809e-05/0.5507, allocations: 30.56 kB / 0.6748 GB, free: 16 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=32): time 2.395e-06/0.5507, allocations: 0 / 0.6748 GB, free: 16 kB / 0.5137 GB Notification: Performance of matching and sorting (n=32): time 0.002251/0.553, allocations: 0.7006 MB / 0.6755 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.598e-05/0.553, allocations: 85.11 kB / 0.6755 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000515/0.5536, allocations: 471 kB / 0.676 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.478e-05/0.5536, allocations: 29.7 kB / 0.676 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002422/0.5538, allocations: 340.3 kB / 0.6763 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001155/0.554, allocations: 122.9 kB / 0.6765 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001396/0.5541, allocations: 70.02 kB / 0.6765 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001637/0.5543, allocations: 366.7 kB / 0.6769 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003395/0.5546, allocations: 134.1 kB / 0.677 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003871/0.555, allocations: 201.7 kB / 0.6772 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007102/0.5557, allocations: 331.3 kB / 0.6775 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.5558, allocations: 1.25 kB / 0.6775 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000935/0.5567, allocations: 444.8 kB / 0.6779 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.5567, allocations: 11.84 kB / 0.6779 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.5567, allocations: 7.938 kB / 0.678 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.5568, allocations: 4 kB / 0.678 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004237/0.5572, allocations: 91.81 kB / 0.678 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.5572, allocations: 4 kB / 0.678 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003027/0.5575, allocations: 43.72 kB / 0.6781 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.029e-05/0.5576, allocations: 20.2 kB / 0.6781 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003816/0.558, allocations: 221.4 kB / 0.6783 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002837/0.5583, allocations: 191.4 kB / 0.6785 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000518/0.5588, allocations: 302.8 kB / 0.6788 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.566e-06/0.5588, allocations: 4 kB / 0.6788 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0006762/0.5595, allocations: 374.7 kB / 0.6792 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.5595, allocations: 8 kB / 0.6792 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.5595, allocations: 5.531 kB / 0.6792 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.474e-06/0.5595, allocations: 11.94 kB / 0.6792 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002935/0.5598, allocations: 83.88 kB / 0.6793 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.5598, allocations: 4 kB / 0.6793 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002197/0.5601, allocations: 35.77 kB / 0.6793 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.63e-05/0.5601, allocations: 16 kB / 0.6793 GB, free: 11.15 MB / 0.5294 GB 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.0001801/0.5603, allocations: 208.5 kB / 0.6795 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/0.5604, allocations: 59.62 kB / 0.6796 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002011/0.5624, allocations: 1.57 MB / 0.6811 GB, free: 9.305 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.608e-05/0.5624, allocations: 23.97 kB / 0.6811 GB, free: 9.281 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.5625, allocations: 3.984 kB / 0.6811 GB, free: 9.277 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.5625, allocations: 0 / 0.6811 GB, free: 9.277 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001135/0.5636, allocations: 0.988 MB / 0.6821 GB, free: 8.242 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.5636, allocations: 0 / 0.6821 GB, free: 8.242 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003383/0.564, allocations: 67.95 kB / 0.6822 GB, free: 8.176 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/0.564, allocations: 0 / 0.6822 GB, free: 8.176 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.69e-05/0.564, allocations: 15.88 kB / 0.6822 GB, free: 8.16 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.564, allocations: 2.062 kB / 0.6822 GB, free: 8.16 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.564, allocations: 4 kB / 0.6822 GB, free: 8.156 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001335/0.5654, allocations: 0.9889 MB / 0.6831 GB, free: 7.152 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002154/0.5656, allocations: 196.2 kB / 0.6833 GB, free: 6.941 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.467e-05/0.5657, allocations: 11.94 kB / 0.6833 GB, free: 6.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003058/0.566, allocations: 19.98 kB / 0.6834 GB, free: 6.91 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/0.5661, allocations: 43.94 kB / 0.6834 GB, free: 6.867 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.109e-05/0.5661, allocations: 8 kB / 0.6834 GB, free: 6.859 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003538/0.5665, allocations: 326.9 kB / 0.6837 GB, free: 6.539 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.21e-07/0.5665, allocations: 0 / 0.6837 GB, free: 6.539 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002561/0.5691, allocations: 1.068 MB / 0.6848 GB, free: 5.469 MB / 0.5294 GB 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.005736/0.5748, allocations: 2.432 MB / 0.6871 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00144/0.5763, allocations: 0.6608 MB / 0.6878 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.5763, allocations: 4 kB / 0.6878 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000644/0.577, allocations: 416.9 kB / 0.6882 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001878/0.5788, allocations: 305.2 kB / 0.6885 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008865/0.5877, allocations: 5.169 MB / 0.6935 GB, free: 12.33 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000583/0.5883, allocations: 0.9829 MB / 0.6945 GB, free: 11.32 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007002/0.589, allocations: 387.7 kB / 0.6949 GB, free: 10.94 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004077/0.5895, allocations: 307.3 kB / 0.6951 GB, free: 10.64 MB / 0.545 GB Notification: Performance of SimCode: time 6.41e-07/0.5895, allocations: 0 / 0.6951 GB, free: 10.64 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08231/0.6718, allocations: 46.34 MB / 0.7404 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/12.12, allocations: 8 kB / 0.7404 GB, free: 12.15 MB / 0.5919 GB (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)