Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_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.001364/0.001364, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001587/0.001587, allocations: 214.7 kB / 23.74 MB, free: 4.656 MB / 14.72 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 1.551/1.551, allocations: 207.6 MB / 234.5 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] 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.3378/0.3378, allocations: 49.56 MB / 336.3 MB, free: 4.117 MB / 270.1 MB " [Timeout remaining time 179] 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.TestSources,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestSources",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestSources,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestSources",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002247/0.002247, allocations: 74.72 kB / 476.3 MB, free: 12.93 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1323, allocations: 62.43 MB / 0.5261 GB, free: 14.31 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/Water.mo:297:5-297: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 master/Water.mo:297:5-297: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.4042/0.5365, allocations: 108.4 MB / 0.632 GB, free: 9.512 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003177/0.5397, allocations: 0.9347 MB / 0.6329 GB, free: 8.574 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008493/0.5405, allocations: 31.62 kB / 0.633 GB, free: 8.543 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009948/0.5415, allocations: 305.5 kB / 0.6333 GB, free: 8.242 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001083/0.5426, allocations: 445 kB / 0.6337 GB, free: 7.805 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01479/0.5574, allocations: 4.583 MB / 0.6382 GB, free: 3.203 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002583/0.56, allocations: 1.323 MB / 0.6394 GB, free: 1.875 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006929/0.5606, allocations: 371.4 kB / 0.6398 GB, free: 1.496 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007047/0.5613, allocations: 474.1 kB / 0.6403 GB, free: 1.031 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006156/0.562, allocations: 441.8 kB / 0.6407 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.106e-05/0.562, allocations: 36 kB / 0.6407 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01067/0.5727, allocations: 4.471 MB / 0.6451 GB, free: 12.09 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002677/0.573, allocations: 111.4 kB / 0.6452 GB, free: 11.98 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005969/0.5736, allocations: 354 kB / 0.6455 GB, free: 11.63 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008431/0.582, allocations: 3.113 MB / 0.6486 GB, free: 8.508 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.582, allocations: 0 / 0.6486 GB, free: 8.508 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.582, allocations: 4 kB / 0.6486 GB, free: 8.504 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.758e-05/0.582, allocations: 0 / 0.6486 GB, free: 8.504 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.00239/0.5844, allocations: 1.25 MB / 0.6498 GB, free: 7.219 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.763e-05/0.5845, allocations: 12.03 kB / 0.6498 GB, free: 7.207 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001174/0.5846, allocations: 90.7 kB / 0.6499 GB, free: 7.109 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001466/0.5847, allocations: 92.38 kB / 0.65 GB, free: 7.02 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007561/0.5855, allocations: 426.2 kB / 0.6504 GB, free: 6.57 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.118e-05/0.5855, allocations: 40.94 kB / 0.6504 GB, free: 6.531 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.308e-05/0.5856, allocations: 48 kB / 0.6505 GB, free: 6.484 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008786/0.5865, allocations: 0.6043 MB / 0.6511 GB, free: 5.754 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.06e-05/0.5865, allocations: 7.938 kB / 0.6511 GB, free: 5.746 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.016e-05/0.5865, allocations: 24 kB / 0.6511 GB, free: 5.723 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.165e-05/0.5865, allocations: 12 kB / 0.6511 GB, free: 5.711 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004034/0.587, allocations: 251.4 kB / 0.6513 GB, free: 5.465 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004123/0.5911, allocations: 4.654 MB / 0.6559 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/0.5912, allocations: 169.1 kB / 0.656 GB, free: 456 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.182e-05/0.5912, allocations: 88.14 kB / 0.6561 GB, free: 364 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.967e-05/0.5913, allocations: 79.22 kB / 0.6562 GB, free: 284 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.202e-05/0.5913, allocations: 109.8 kB / 0.6563 GB, free: 164 kB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 1.293e-06/0.5913, allocations: 0 / 0.6563 GB, free: 164 kB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001728/0.5915, allocations: 105.2 kB / 0.6564 GB, free: 52 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.579e-05/0.5916, allocations: 126.7 kB / 0.6565 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000977/0.5926, allocations: 0.7842 MB / 0.6573 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.5926, allocations: 25.7 kB / 0.6573 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003536/0.5929, allocations: 391.4 kB / 0.6577 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.955e-06/0.5929, allocations: 0 / 0.6577 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.2e-05/0.593, allocations: 37.66 kB / 0.6577 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.5931, allocations: 313.9 kB / 0.658 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.804e-05/0.5932, allocations: 19.98 kB / 0.658 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.5933, allocations: 94.17 kB / 0.6581 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001442/0.5934, allocations: 122.1 kB / 0.6582 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.5934, allocations: 0 / 0.6582 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000351/0.5938, allocations: 200.9 kB / 0.6584 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.5938, allocations: 4 kB / 0.6584 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.5938, allocations: 4.375 kB / 0.6584 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.5938, allocations: 15.92 kB / 0.6585 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.5939, allocations: 27.92 kB / 0.6585 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.66e-05/0.594, allocations: 4 kB / 0.6585 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002051/0.5942, allocations: 51.45 kB / 0.6585 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.507e-05/0.5942, allocations: 11.98 kB / 0.6586 GB, free: 13.71 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.0002129/0.5944, allocations: 233 kB / 0.6588 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001555/0.5946, allocations: 188.4 kB / 0.659 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001422/0.5947, allocations: 183.6 kB / 0.6591 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.815e-05/0.5948, allocations: 176.3 kB / 0.6593 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.834e-05/0.5949, allocations: 180.2 kB / 0.6595 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.419e-05/0.595, allocations: 176.3 kB / 0.6596 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006048/0.5956, allocations: 0.6212 MB / 0.6602 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.268e-05/0.5956, allocations: 108.9 kB / 0.6604 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.287e-05/0.5957, allocations: 109 kB / 0.6605 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.31e-05/0.5958, allocations: 180.2 kB / 0.6606 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.183e-05/0.5959, allocations: 176.3 kB / 0.6608 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.041e-05/0.596, allocations: 180.2 kB / 0.661 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.989e-05/0.596, allocations: 188.2 kB / 0.6611 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002768/0.5963, allocations: 391.3 kB / 0.6615 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001833/0.5965, allocations: 172.5 kB / 0.6617 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001644/0.5967, allocations: 188.2 kB / 0.6619 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001968/0.5969, allocations: 101 kB / 0.662 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.597, allocations: 180.3 kB / 0.6621 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.767e-05/0.597, allocations: 108.9 kB / 0.6622 GB, free: 9.734 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000688/0.5977, allocations: 0.531 MB / 0.6628 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.5977, allocations: 0 / 0.6628 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002492/0.6002, allocations: 0.7559 MB / 0.6635 GB, free: 8.434 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.003364/0.6036, allocations: 1.72 MB / 0.6652 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001849/0.6037, allocations: 43.86 kB / 0.6652 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.6037, allocations: 0 / 0.6652 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.713e-06/0.6037, allocations: 0 / 0.6652 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002526/0.6063, allocations: 0.8974 MB / 0.6661 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006744/0.613, allocations: 4.76 MB / 0.6707 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006012/0.6136, allocations: 0.8821 MB / 0.6716 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004231/0.614, allocations: 121.5 kB / 0.6717 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003251/0.6144, allocations: 259.2 kB / 0.672 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of SimCode: time 1.062e-06/0.6144, allocations: 0 / 0.672 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08979/0.7042, allocations: 34.23 MB / 0.7054 GB, free: 13.15 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.9/13.6, allocations: 8 kB / 0.7054 GB, free: 13.14 MB / 0.545 GB " [Timeout remaining time 646] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestSources.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestSources.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestSources.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestSources.sim & python3 -m fmpy simulate --output-file ThermoPower_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_ThermoPower_Test_WaterComponents_TestSources.fmu > ThermoPower_ThermoPower.Test.WaterComponents.TestSources.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.909752548999677] Failed to read output from testmodel.py, exit status != 0: 13.732267116000003 13.754420598 13.16730734 Calling exit ...