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.00173/0.00173, 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.002046/0.002046, allocations: 209.5 kB / 23.74 MB, free: 4.691 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.418/1.418, allocations: 230.6 MB / 257.5 MB, free: 7.992 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.1653/0.1653, allocations: 26.81 MB / 340.7 MB, free: 8.203 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.002076/0.002076, allocations: 67.91 kB / 476.8 MB, free: 3.66 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.351/0.3531, allocations: 60.49 MB / 0.5247 GB, free: 9.547 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.1245/0.4775, allocations: 108.9 MB / 0.6311 GB, free: 8.027 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002735/0.4803, allocations: 0.9347 MB / 0.632 GB, free: 7.09 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005415/0.4808, allocations: 35.62 kB / 0.632 GB, free: 7.055 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008621/0.4817, allocations: 309.5 kB / 0.6323 GB, free: 6.75 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008805/0.4825, allocations: 441 kB / 0.6328 GB, free: 6.316 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01395/0.4965, allocations: 4.602 MB / 0.6372 GB, free: 1.695 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002251/0.4987, allocations: 1.327 MB / 0.6385 GB, free: 372 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006772/0.4994, allocations: 379.3 kB / 0.6389 GB, free: 15.98 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006825/0.5001, allocations: 466.1 kB / 0.6394 GB, free: 15.52 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005936/0.5007, allocations: 445.7 kB / 0.6398 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.995e-05/0.5008, allocations: 32 kB / 0.6398 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01055/0.5113, allocations: 4.487 MB / 0.6442 GB, free: 10.56 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002457/0.5116, allocations: 103.5 kB / 0.6443 GB, free: 10.46 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006285/0.5122, allocations: 365.9 kB / 0.6446 GB, free: 10.1 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008566/0.5208, allocations: 3.109 MB / 0.6477 GB, free: 6.984 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.5208, allocations: 0 / 0.6477 GB, free: 6.984 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.5208, allocations: 4 kB / 0.6477 GB, free: 6.98 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.798e-05/0.5208, allocations: 7.938 kB / 0.6477 GB, free: 6.973 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.002417/0.5232, allocations: 1.25 MB / 0.6489 GB, free: 5.684 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.614e-05/0.5233, allocations: 12.03 kB / 0.6489 GB, free: 5.672 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001012/0.5234, allocations: 86.7 kB / 0.649 GB, free: 5.578 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001302/0.5235, allocations: 100.3 kB / 0.6491 GB, free: 5.48 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000694/0.5242, allocations: 426 kB / 0.6495 GB, free: 5.039 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.226e-05/0.5242, allocations: 40.94 kB / 0.6495 GB, free: 5 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.155e-05/0.5243, allocations: 48 kB / 0.6496 GB, free: 4.953 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008144/0.5251, allocations: 0.6081 MB / 0.6502 GB, free: 4.219 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.224e-05/0.5251, allocations: 7.938 kB / 0.6502 GB, free: 4.211 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.531e-05/0.5252, allocations: 20 kB / 0.6502 GB, free: 4.191 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.858e-05/0.5252, allocations: 12 kB / 0.6502 GB, free: 4.18 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004323/0.5256, allocations: 259.3 kB / 0.6505 GB, free: 3.926 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004159/0.5298, allocations: 4.654 MB / 0.655 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001117/0.5299, allocations: 169.1 kB / 0.6552 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.921e-05/0.5299, allocations: 84.14 kB / 0.6552 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.709e-05/0.53, allocations: 79.27 kB / 0.6553 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.148e-05/0.53, allocations: 105.8 kB / 0.6554 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 2.154e-06/0.53, allocations: 0 / 0.6554 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 0.0002009/0.5302, allocations: 117.1 kB / 0.6555 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.529e-05/0.5303, allocations: 126.7 kB / 0.6557 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009528/0.5313, allocations: 0.7803 MB / 0.6564 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.5313, allocations: 25.7 kB / 0.6564 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003257/0.5316, allocations: 391.4 kB / 0.6568 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.59e-06/0.5316, allocations: 4 kB / 0.6568 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.979e-05/0.5317, allocations: 33.7 kB / 0.6569 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.5318, allocations: 313.9 kB / 0.6572 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.588e-05/0.5318, allocations: 16 kB / 0.6572 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001003/0.5319, allocations: 90.28 kB / 0.6573 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001456/0.5321, allocations: 110.1 kB / 0.6574 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.5321, allocations: 4 kB / 0.6574 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000353/0.5325, allocations: 208.8 kB / 0.6576 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/0.5325, allocations: 6.812 kB / 0.6576 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.56e-05/0.5325, allocations: 4 kB / 0.6576 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.436e-05/0.5325, allocations: 8.312 kB / 0.6576 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.5326, allocations: 31.92 kB / 0.6576 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.5326, allocations: 4 kB / 0.6576 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002019/0.5328, allocations: 47.52 kB / 0.6577 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.733e-05/0.5329, allocations: 15.98 kB / 0.6577 GB, free: 12.18 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.0002044/0.5331, allocations: 233 kB / 0.6579 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001535/0.5332, allocations: 188.5 kB / 0.6581 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001218/0.5333, allocations: 163.6 kB / 0.6582 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.782e-05/0.5334, allocations: 192.1 kB / 0.6584 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.214e-05/0.5335, allocations: 180.2 kB / 0.6586 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.61e-05/0.5336, allocations: 180.2 kB / 0.6588 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005531/0.5341, allocations: 0.6213 MB / 0.6594 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-05/0.5342, allocations: 101 kB / 0.6595 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.981e-05/0.5342, allocations: 112.9 kB / 0.6596 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.325e-05/0.5343, allocations: 180.2 kB / 0.6597 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.089e-05/0.5344, allocations: 184.2 kB / 0.6599 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.745e-05/0.5345, allocations: 176.3 kB / 0.6601 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.88e-05/0.5345, allocations: 184.2 kB / 0.6603 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002426/0.5348, allocations: 391.3 kB / 0.6606 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001637/0.535, allocations: 172.4 kB / 0.6608 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001539/0.5351, allocations: 180.3 kB / 0.661 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001957/0.5353, allocations: 112.9 kB / 0.6611 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.092e-05/0.5354, allocations: 180.2 kB / 0.6613 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.352e-05/0.5354, allocations: 105 kB / 0.6614 GB, free: 8.211 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006687/0.5361, allocations: 0.531 MB / 0.6619 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/0.5361, allocations: 0 / 0.6619 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002135/0.5383, allocations: 0.7637 MB / 0.6626 GB, free: 6.902 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.003249/0.5415, allocations: 1.736 MB / 0.6643 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001869/0.5417, allocations: 39.86 kB / 0.6643 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.5417, allocations: 0 / 0.6643 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.084e-06/0.5417, allocations: 0 / 0.6643 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002376/0.5441, allocations: 0.8933 MB / 0.6652 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006361/0.5504, allocations: 4.768 MB / 0.6699 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005238/0.551, allocations: 0.8781 MB / 0.6707 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004364/0.5514, allocations: 121.6 kB / 0.6709 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003113/0.5517, allocations: 259.3 kB / 0.6711 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of SimCode: time 1.452e-06/0.5517, allocations: 0 / 0.6711 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07697/0.6287, allocations: 34.35 MB / 0.7046 GB, free: 11.74 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/12.62, allocations: 3.859 kB / 0.7047 GB, free: 11.73 MB / 0.545 GB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoPower_4_0_0-dev_ThermoPower_Test_WaterComponents_TestSources_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 15.315603935043328] Failed to read output from testmodel.py, exit status != 0: 12.742142892908305 12.766249681 12.24091925 Calling exit ...