Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestSources.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.001851/0.001851, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.002237/0.002237, allocations: 213.8 kB / 23.74 MB, free: 4.688 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.496/1.496, allocations: 230.6 MB / 257.5 MB, free: 8.031 MB / 206.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.1646/0.1646, allocations: 26.82 MB / 340.8 MB, free: 8.223 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: "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestSources,fileNamePrefix="ThermoPower_4_0_0-dev_ThermoPower_Test_WaterComponents_TestSources",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestSources,fileNamePrefix="ThermoPower_4_0_0-dev_ThermoPower_Test_WaterComponents_TestSources",fmuType="me",version="2.0",platforms={"static"}) [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.002141/0.002141, allocations: 67.89 kB / 476.8 MB, free: 3.699 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3551/0.3572, allocations: 60.48 MB / 0.5247 GB, free: 9.555 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/FluidPh.mo:311:5-311:61:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/FluidPh.mo:311:5-311:61:writable] Notification: The diagnostics message for the missing inner is: The System object is missing, please drag it on the top layer of your model Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestSources): time 0.137/0.4943, allocations: 109 MB / 0.6311 GB, free: 8.008 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002914/0.4972, allocations: 0.9269 MB / 0.632 GB, free: 7.078 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001077/0.4982, allocations: 35.62 kB / 0.6321 GB, free: 7.043 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001211/0.4995, allocations: 313.4 kB / 0.6324 GB, free: 6.734 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001398/0.5009, allocations: 437.1 kB / 0.6328 GB, free: 6.305 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01621/0.5171, allocations: 4.614 MB / 0.6373 GB, free: 1.672 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002448/0.5195, allocations: 1.319 MB / 0.6386 GB, free: 352 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008037/0.5203, allocations: 387.3 kB / 0.639 GB, free: 15.95 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008051/0.5211, allocations: 462.2 kB / 0.6394 GB, free: 15.5 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006781/0.5218, allocations: 441.7 kB / 0.6398 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.697e-05/0.5219, allocations: 36 kB / 0.6399 GB, free: 15.03 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01068/0.5326, allocations: 4.479 MB / 0.6442 GB, free: 10.55 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002535/0.5328, allocations: 115.4 kB / 0.6443 GB, free: 10.43 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005876/0.5334, allocations: 358 kB / 0.6447 GB, free: 10.08 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008949/0.5423, allocations: 3.113 MB / 0.6477 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.884e-06/0.5424, allocations: 0 / 0.6477 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.5424, allocations: 0 / 0.6477 GB, free: 6.961 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.21e-05/0.5424, allocations: 0 / 0.6477 GB, free: 6.961 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: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.002603/0.545, allocations: 1.261 MB / 0.649 GB, free: 5.66 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.372e-05/0.545, allocations: 8.031 kB / 0.649 GB, free: 5.652 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000106/0.5451, allocations: 90.7 kB / 0.649 GB, free: 5.555 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001623/0.5453, allocations: 104.3 kB / 0.6491 GB, free: 5.453 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007911/0.5461, allocations: 418.1 kB / 0.6495 GB, free: 5.02 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.405e-05/0.5461, allocations: 40.94 kB / 0.6496 GB, free: 4.98 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.428e-05/0.5462, allocations: 48 kB / 0.6496 GB, free: 4.934 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008549/0.5471, allocations: 0.6119 MB / 0.6502 GB, free: 4.195 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.925e-05/0.5471, allocations: 7.938 kB / 0.6502 GB, free: 4.188 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.597e-05/0.5471, allocations: 20 kB / 0.6503 GB, free: 4.168 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.083e-05/0.5471, allocations: 16 kB / 0.6503 GB, free: 4.152 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004216/0.5476, allocations: 255.3 kB / 0.6505 GB, free: 3.902 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004586/0.5521, allocations: 4.654 MB / 0.6551 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.5523, allocations: 165.1 kB / 0.6552 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.413e-05/0.5523, allocations: 80.14 kB / 0.6553 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.527e-05/0.5524, allocations: 79.28 kB / 0.6554 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.846e-05/0.5524, allocations: 113.7 kB / 0.6555 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 2.775e-06/0.5524, allocations: 0 / 0.6555 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 0.000205/0.5526, allocations: 113.1 kB / 0.6556 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.195e-05/0.5527, allocations: 126.7 kB / 0.6557 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001018/0.5537, allocations: 0.7764 MB / 0.6565 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.5538, allocations: 33.7 kB / 0.6565 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000333/0.5541, allocations: 391.4 kB / 0.6569 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.849e-06/0.5541, allocations: 4 kB / 0.6569 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.388e-05/0.5542, allocations: 33.7 kB / 0.6569 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.5543, allocations: 309.9 kB / 0.6572 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.282e-05/0.5543, allocations: 15.98 kB / 0.6572 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001091/0.5545, allocations: 94.23 kB / 0.6573 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001451/0.5546, allocations: 114.2 kB / 0.6574 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/0.5546, allocations: 8 kB / 0.6574 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003626/0.555, allocations: 200.8 kB / 0.6576 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.544e-05/0.555, allocations: 8 kB / 0.6576 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.555, allocations: 7.984 kB / 0.6576 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.555, allocations: 7.938 kB / 0.6576 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.5552, allocations: 24.3 kB / 0.6577 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.5552, allocations: 8 kB / 0.6577 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002181/0.5554, allocations: 55.52 kB / 0.6577 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.136e-05/0.5554, allocations: 8 kB / 0.6577 GB, free: 12.15 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.0002028/0.5556, allocations: 233 kB / 0.6579 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001489/0.5557, allocations: 184.5 kB / 0.6581 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001315/0.5559, allocations: 171.6 kB / 0.6583 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.241e-05/0.556, allocations: 184.3 kB / 0.6585 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.758e-05/0.556, allocations: 176.3 kB / 0.6586 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.505e-05/0.5561, allocations: 184.2 kB / 0.6588 GB, free: 11 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005605/0.5567, allocations: 0.6173 MB / 0.6594 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.632e-05/0.5567, allocations: 104.9 kB / 0.6595 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.898e-05/0.5568, allocations: 101 kB / 0.6596 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.754e-05/0.5569, allocations: 192.2 kB / 0.6598 GB, free: 9.918 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.759e-05/0.5569, allocations: 176.3 kB / 0.66 GB, free: 9.738 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.721e-05/0.557, allocations: 176.3 kB / 0.6601 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.194e-05/0.5571, allocations: 184.2 kB / 0.6603 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002717/0.5574, allocations: 399.3 kB / 0.6607 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002015/0.5576, allocations: 168.5 kB / 0.6608 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001574/0.5577, allocations: 188.2 kB / 0.661 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000204/0.5579, allocations: 108.9 kB / 0.6611 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.195e-05/0.558, allocations: 176.3 kB / 0.6613 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.548e-05/0.5581, allocations: 108.9 kB / 0.6614 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006822/0.5588, allocations: 0.531 MB / 0.6619 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5588, allocations: 3.938 kB / 0.6619 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002149/0.5609, allocations: 0.7637 MB / 0.6627 GB, free: 6.875 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.003385/0.5643, allocations: 1.735 MB / 0.6644 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001898/0.5645, allocations: 43.86 kB / 0.6644 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.5645, allocations: 0 / 0.6644 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.294e-06/0.5645, allocations: 0 / 0.6644 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002585/0.5671, allocations: 0.8855 MB / 0.6653 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007313/0.5744, allocations: 4.768 MB / 0.6699 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005149/0.5749, allocations: 0.882 MB / 0.6708 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004481/0.5753, allocations: 125.6 kB / 0.6709 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003132/0.5757, allocations: 251.3 kB / 0.6711 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of SimCode: time 1.733e-06/0.5757, allocations: 0 / 0.6711 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08424/0.6599, allocations: 34.38 MB / 0.7047 GB, free: 11.7 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.5/14.16, allocations: 3.984 kB / 0.7047 GB, free: 11.7 MB / 0.545 GB " [Timeout remaining time 646] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestSources.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestSources.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestSources.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestSources.sim & python3 -m fmpy simulate --output-file ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestSources_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ThermoPower_4_0_0-dev_ThermoPower_Test_WaterComponents_TestSources.fmu > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestSources.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.14361496793572] Failed to read output from testmodel.py, exit status != 0: 14.281862274976447 14.298433632 13.752454551 Calling exit ...