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.001655/0.001655, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001819/0.001819, allocations: 211.2 kB / 23.73 MB, free: 4.387 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.734/1.734, allocations: 207.7 MB / 234.6 MB, free: 9.793 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.3732/0.3732, allocations: 49.6 MB / 336.4 MB, free: 3.871 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.002353/0.002353, allocations: 76.22 kB / 476.4 MB, free: 12.75 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.1583, allocations: 62.44 MB / 0.5262 GB, free: 14.12 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.5191/0.6774, allocations: 99.97 MB / 0.6238 GB, free: 1.289 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003522/0.6809, allocations: 0.9269 MB / 0.6247 GB, free: 368 kB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008102/0.6818, allocations: 35.62 kB / 0.6247 GB, free: 332 kB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009749/0.6827, allocations: 305.5 kB / 0.625 GB, free: 24 kB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00104/0.6838, allocations: 449.1 kB / 0.6255 GB, free: 15.58 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01572/0.6995, allocations: 4.443 MB / 0.6298 GB, free: 11.12 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00295/0.7024, allocations: 1.327 MB / 0.6311 GB, free: 9.789 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007625/0.7032, allocations: 367.3 kB / 0.6314 GB, free: 9.418 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007718/0.704, allocations: 474.2 kB / 0.6319 GB, free: 8.953 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006125/0.7046, allocations: 413.8 kB / 0.6323 GB, free: 8.547 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.352e-05/0.7046, allocations: 36 kB / 0.6323 GB, free: 8.512 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01058/0.7152, allocations: 4.151 MB / 0.6364 GB, free: 4.355 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000252/0.7155, allocations: 119.4 kB / 0.6365 GB, free: 4.238 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005306/0.716, allocations: 290.5 kB / 0.6368 GB, free: 3.953 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01323/0.7292, allocations: 3.054 MB / 0.6397 GB, free: 0.8906 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.157e-06/0.7292, allocations: 7.938 kB / 0.6398 GB, free: 0.8828 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.817e-06/0.7292, allocations: 0 / 0.6398 GB, free: 0.8828 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.83e-05/0.7293, allocations: 0 / 0.6398 GB, free: 0.8828 MB / 478.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.003818/0.7331, allocations: 1.25 MB / 0.641 GB, free: 15.59 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.877e-05/0.7332, allocations: 8.031 kB / 0.641 GB, free: 15.59 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001526/0.7333, allocations: 90.7 kB / 0.6411 GB, free: 15.49 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002396/0.7336, allocations: 96.38 kB / 0.6412 GB, free: 15.39 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009974/0.7346, allocations: 426.2 kB / 0.6416 GB, free: 14.95 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.14e-05/0.7346, allocations: 40.94 kB / 0.6416 GB, free: 14.91 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.615e-05/0.7347, allocations: 44 kB / 0.6416 GB, free: 14.87 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000981/0.7357, allocations: 0.6082 MB / 0.6422 GB, free: 14.14 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.326e-05/0.7357, allocations: 3.938 kB / 0.6422 GB, free: 14.13 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.923e-05/0.7358, allocations: 24 kB / 0.6423 GB, free: 14.11 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.404e-05/0.7358, allocations: 19.98 kB / 0.6423 GB, free: 14.09 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004993/0.7363, allocations: 251.4 kB / 0.6425 GB, free: 13.84 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005416/0.7417, allocations: 4.576 MB / 0.647 GB, free: 9.082 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001246/0.7418, allocations: 169.1 kB / 0.6472 GB, free: 8.906 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.566e-05/0.7419, allocations: 84.08 kB / 0.6472 GB, free: 8.82 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.353e-05/0.7419, allocations: 75.28 kB / 0.6473 GB, free: 8.746 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.948e-05/0.742, allocations: 117.8 kB / 0.6474 GB, free: 8.621 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 1.452e-06/0.742, allocations: 0 / 0.6474 GB, free: 8.621 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002343/0.7422, allocations: 109.2 kB / 0.6475 GB, free: 8.508 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.346e-05/0.7423, allocations: 134.7 kB / 0.6477 GB, free: 8.363 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001089/0.7434, allocations: 0.7724 MB / 0.6484 GB, free: 7.566 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.7434, allocations: 25.7 kB / 0.6484 GB, free: 7.535 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003712/0.7438, allocations: 403.4 kB / 0.6488 GB, free: 7.137 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.248e-06/0.7438, allocations: 0 / 0.6488 GB, free: 7.137 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.16e-05/0.7438, allocations: 33.7 kB / 0.6488 GB, free: 7.098 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.744, allocations: 313.9 kB / 0.6491 GB, free: 6.785 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.426e-05/0.744, allocations: 19.98 kB / 0.6492 GB, free: 6.766 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001169/0.7442, allocations: 90.23 kB / 0.6493 GB, free: 6.641 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000164/0.7443, allocations: 110.2 kB / 0.6494 GB, free: 6.496 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.7443, allocations: 4 kB / 0.6494 GB, free: 6.492 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004368/0.7448, allocations: 204.9 kB / 0.6496 GB, free: 6.285 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.7448, allocations: 11.94 kB / 0.6496 GB, free: 6.273 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.7448, allocations: 4 kB / 0.6496 GB, free: 6.27 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.216e-05/0.7448, allocations: 4 kB / 0.6496 GB, free: 6.266 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.7449, allocations: 23.92 kB / 0.6496 GB, free: 6.242 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.7449, allocations: 4 kB / 0.6496 GB, free: 6.238 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002526/0.7452, allocations: 55.52 kB / 0.6497 GB, free: 6.184 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.903e-05/0.7452, allocations: 8 kB / 0.6497 GB, free: 6.176 MB / 494.1 MB 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.0002438/0.7455, allocations: 241.2 kB / 0.6499 GB, free: 5.93 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001733/0.7456, allocations: 188.5 kB / 0.6501 GB, free: 5.738 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001593/0.7458, allocations: 179.5 kB / 0.6502 GB, free: 5.555 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.467e-05/0.7459, allocations: 176.3 kB / 0.6504 GB, free: 5.375 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.946e-05/0.746, allocations: 184.2 kB / 0.6506 GB, free: 5.188 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001057/0.7461, allocations: 180.3 kB / 0.6508 GB, free: 5.004 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005919/0.7467, allocations: 0.594 MB / 0.6513 GB, free: 4.359 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.477e-05/0.7468, allocations: 104.9 kB / 0.6514 GB, free: 4.25 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.734e-05/0.7468, allocations: 101 kB / 0.6515 GB, free: 4.145 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.727e-05/0.7469, allocations: 180.2 kB / 0.6517 GB, free: 3.961 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001102/0.747, allocations: 188.2 kB / 0.6519 GB, free: 3.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.883e-05/0.7471, allocations: 176.3 kB / 0.6521 GB, free: 3.59 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001093/0.7472, allocations: 184.2 kB / 0.6522 GB, free: 3.402 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002963/0.7475, allocations: 387.3 kB / 0.6526 GB, free: 3 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002271/0.7477, allocations: 180.4 kB / 0.6528 GB, free: 2.816 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001816/0.7479, allocations: 176.5 kB / 0.6529 GB, free: 2.637 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002328/0.7481, allocations: 108.9 kB / 0.653 GB, free: 2.523 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001221/0.7483, allocations: 180.3 kB / 0.6532 GB, free: 2.34 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.438e-05/0.7483, allocations: 112.9 kB / 0.6533 GB, free: 2.223 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007991/0.7491, allocations: 0.531 MB / 0.6538 GB, free: 1.68 MB / 494.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.7491, allocations: 0 / 0.6538 GB, free: 1.68 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002609/0.7517, allocations: 0.7559 MB / 0.6546 GB, free: 0.9219 MB / 494.1 MB 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.004193/0.7559, allocations: 1.724 MB / 0.6563 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001821/0.7561, allocations: 43.86 kB / 0.6563 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.7561, allocations: 0 / 0.6563 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.874e-06/0.7561, allocations: 0.75 kB / 0.6563 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002618/0.7587, allocations: 0.8925 MB / 0.6572 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007836/0.7666, allocations: 4.764 MB / 0.6618 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002964/0.7669, allocations: 281.1 kB / 0.6621 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004342/0.7673, allocations: 121.6 kB / 0.6622 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003427/0.7676, allocations: 259.3 kB / 0.6625 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of SimCode: time 1.022e-06/0.7676, allocations: 0 / 0.6625 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09471/0.8624, allocations: 36.15 MB / 0.6978 GB, free: 4.316 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.14/14, allocations: 19.86 kB / 0.6978 GB, free: 4.297 MB / 0.5294 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: 17.649760260712355] Failed to read output from testmodel.py, exit status != 0: 14.136190185789019 14.163297319 13.429319946 Calling exit ...