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.001843/0.001843, allocations: 115.9 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.002256/0.002256, allocations: 213.4 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.524/1.524, 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.3366/0.3366, allocations: 49.58 MB / 336.3 MB, free: 4.125 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.002464/0.002464, allocations: 63.91 kB / 476.3 MB, free: 12.94 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1239, 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.3569/0.4808, allocations: 108.4 MB / 0.632 GB, free: 9.535 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002912/0.4838, allocations: 0.9192 MB / 0.6329 GB, free: 8.613 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006763/0.4844, allocations: 35.56 kB / 0.6329 GB, free: 8.578 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009491/0.4854, allocations: 313.4 kB / 0.6332 GB, free: 8.27 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009618/0.4863, allocations: 441 kB / 0.6337 GB, free: 7.836 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01314/0.4995, allocations: 4.586 MB / 0.6381 GB, free: 3.23 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002425/0.5019, allocations: 1.319 MB / 0.6394 GB, free: 1.906 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006839/0.5026, allocations: 383.3 kB / 0.6398 GB, free: 1.516 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006973/0.5033, allocations: 474.1 kB / 0.6403 GB, free: 1.051 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005993/0.5039, allocations: 437.8 kB / 0.6407 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.07e-05/0.504, allocations: 36 kB / 0.6407 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009452/0.5134, allocations: 4.471 MB / 0.6451 GB, free: 12.11 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001992/0.5136, allocations: 111.4 kB / 0.6452 GB, free: 12 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005194/0.5141, allocations: 366 kB / 0.6455 GB, free: 11.64 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007251/0.5214, allocations: 3.105 MB / 0.6486 GB, free: 8.527 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.5214, allocations: 3.938 kB / 0.6486 GB, free: 8.523 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.5214, allocations: 0 / 0.6486 GB, free: 8.523 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.219e-05/0.5214, allocations: 0 / 0.6486 GB, free: 8.523 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.002271/0.5237, allocations: 1.246 MB / 0.6498 GB, free: 7.242 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.5237, allocations: 12.03 kB / 0.6498 GB, free: 7.23 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001036/0.5238, allocations: 90.7 kB / 0.6499 GB, free: 7.133 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001444/0.524, allocations: 92.38 kB / 0.65 GB, free: 7.043 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006931/0.5247, allocations: 430.2 kB / 0.6504 GB, free: 6.59 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.966e-05/0.5247, allocations: 40.94 kB / 0.6504 GB, free: 6.551 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.681e-05/0.5248, allocations: 48 kB / 0.6505 GB, free: 6.504 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008528/0.5256, allocations: 0.6004 MB / 0.651 GB, free: 5.777 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/0.5256, allocations: 7.938 kB / 0.6511 GB, free: 5.77 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.25e-05/0.5257, allocations: 27.98 kB / 0.6511 GB, free: 5.742 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.628e-05/0.5257, allocations: 16 kB / 0.6511 GB, free: 5.727 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004018/0.5261, allocations: 259.3 kB / 0.6513 GB, free: 5.473 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004154/0.5302, allocations: 4.654 MB / 0.6559 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001397/0.5304, allocations: 165.1 kB / 0.656 GB, free: 468 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.345e-05/0.5304, allocations: 84.08 kB / 0.6561 GB, free: 380 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.361e-05/0.5305, allocations: 75.28 kB / 0.6562 GB, free: 304 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.664e-05/0.5305, allocations: 113.8 kB / 0.6563 GB, free: 180 kB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.5305, allocations: 8 kB / 0.6563 GB, free: 172 kB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001737/0.5307, allocations: 109.2 kB / 0.6564 GB, free: 56 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.812e-05/0.5308, allocations: 126.7 kB / 0.6565 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000956/0.5318, allocations: 0.7725 MB / 0.6573 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.5318, allocations: 25.7 kB / 0.6573 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003374/0.5321, allocations: 391.5 kB / 0.6577 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.567e-06/0.5321, allocations: 0 / 0.6577 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.666e-05/0.5322, allocations: 37.66 kB / 0.6577 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.5323, allocations: 321.9 kB / 0.658 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.598e-05/0.5324, allocations: 16 kB / 0.658 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001034/0.5325, allocations: 86.23 kB / 0.6581 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001438/0.5326, allocations: 118.2 kB / 0.6582 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.5326, allocations: 4 kB / 0.6582 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003655/0.533, allocations: 205 kB / 0.6584 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.533, allocations: 7.938 kB / 0.6585 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.533, allocations: 4 kB / 0.6585 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.533, allocations: 4 kB / 0.6585 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.5331, allocations: 31.92 kB / 0.6585 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.5332, allocations: 4 kB / 0.6585 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002016/0.5334, allocations: 51.45 kB / 0.6585 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.014e-05/0.5334, allocations: 8 kB / 0.6586 GB, free: 13.73 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.0002184/0.5336, allocations: 237.2 kB / 0.6588 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001576/0.5338, allocations: 192.4 kB / 0.659 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001274/0.5339, allocations: 175.6 kB / 0.6591 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-05/0.534, allocations: 176.3 kB / 0.6593 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.784e-05/0.5341, allocations: 180.2 kB / 0.6595 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.361e-05/0.5341, allocations: 180.3 kB / 0.6596 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005599/0.5347, allocations: 0.6212 MB / 0.6602 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.594e-05/0.5348, allocations: 104.9 kB / 0.6603 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.536e-05/0.5348, allocations: 105 kB / 0.6604 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.871e-05/0.5349, allocations: 180.2 kB / 0.6606 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.711e-05/0.535, allocations: 180.2 kB / 0.6608 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.43e-05/0.5351, allocations: 180.3 kB / 0.661 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.158e-05/0.5351, allocations: 184.2 kB / 0.6611 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002567/0.5354, allocations: 391.3 kB / 0.6615 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001757/0.5356, allocations: 176.4 kB / 0.6617 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001608/0.5357, allocations: 184.3 kB / 0.6619 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001907/0.5359, allocations: 104.9 kB / 0.662 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.786e-05/0.536, allocations: 176.3 kB / 0.6621 GB, free: 9.875 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.334e-05/0.5361, allocations: 108.9 kB / 0.6622 GB, free: 9.762 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006626/0.5367, allocations: 0.531 MB / 0.6627 GB, free: 9.219 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6e-08/0.5367, allocations: 0 / 0.6627 GB, free: 9.219 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002032/0.5388, allocations: 0.7598 MB / 0.6635 GB, free: 8.457 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.002966/0.5417, allocations: 1.724 MB / 0.6652 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001662/0.5419, allocations: 48.55 kB / 0.6652 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5419, allocations: 0 / 0.6652 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.363e-06/0.5419, allocations: 0 / 0.6652 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00229/0.5442, allocations: 0.8887 MB / 0.6661 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006164/0.5503, allocations: 4.767 MB / 0.6707 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000552/0.5509, allocations: 0.8782 MB / 0.6716 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003881/0.5513, allocations: 121.6 kB / 0.6717 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003005/0.5516, allocations: 259.3 kB / 0.672 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of SimCode: time 1.162e-06/0.5516, allocations: 0 / 0.672 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0799/0.6315, allocations: 34.23 MB / 0.7054 GB, free: 13.17 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.79/13.42, allocations: 4.062 kB / 0.7054 GB, free: 13.16 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_WaterComponents_TestSources_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_WaterComponents_TestSources.fmu > ThermoPower_ThermoPower.Test.WaterComponents.TestSources.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.460358041105792] Failed to read output from testmodel.py, exit status != 0: 13.543849630048499 13.563259231 13.038644411 Calling exit ...