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.001923/0.001923, allocations: 113 kB / 18.49 MB, free: 4.539 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.002661/0.002661, allocations: 217.4 kB / 21.46 MB, free: 1.586 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.622/1.622, allocations: 207.6 MB / 231.8 MB, free: 4.031 MB / 174.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.4779/0.4779, allocations: 49.5 MB / 333.2 MB, free: 0.7539 MB / 254.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestSources,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestSources",fmuType="cs",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.002165/0.002165, allocations: 68.72 kB / 471.5 MB, free: 41.04 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1485, allocations: 62.34 MB / 0.5213 GB, free: 2.305 MB / 382.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.1292/0.2777, allocations: 107.4 MB / 0.6262 GB, free: 6.531 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003021/0.2807, allocations: 0.9231 MB / 0.6271 GB, free: 5.605 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006754/0.2814, allocations: 43.5 kB / 0.6272 GB, free: 5.562 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009664/0.2824, allocations: 301.4 kB / 0.6275 GB, free: 5.266 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001038/0.2834, allocations: 457 kB / 0.6279 GB, free: 4.816 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01473/0.2981, allocations: 4.512 MB / 0.6323 GB, free: 292 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002649/0.3008, allocations: 1.327 MB / 0.6336 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007138/0.3015, allocations: 375 kB / 0.634 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007432/0.3022, allocations: 470.1 kB / 0.6344 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005483/0.3028, allocations: 433.8 kB / 0.6348 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.928e-05/0.3028, allocations: 36 kB / 0.6349 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01018/0.313, allocations: 4.451 MB / 0.6392 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002764/0.3133, allocations: 111.4 kB / 0.6393 GB, free: 9.086 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006109/0.3139, allocations: 362 kB / 0.6396 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.008515/0.3224, allocations: 3.097 MB / 0.6427 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.3224, allocations: 4 kB / 0.6427 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.134e-06/0.3224, allocations: 4 kB / 0.6427 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.251e-05/0.3224, allocations: 0 / 0.6427 GB, free: 5.617 MB / 0.4981 GB 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.002499/0.3249, allocations: 1.321 MB / 0.644 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.362e-05/0.325, allocations: 11.89 kB / 0.644 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.734e-05/0.325, allocations: 17.17 kB / 0.644 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.807e-05/0.3251, allocations: 86.72 kB / 0.6441 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001402/0.3253, allocations: 96.36 kB / 0.6442 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006971/0.326, allocations: 0.4996 MB / 0.6447 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.195e-05/0.326, allocations: 41 kB / 0.6447 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.261e-05/0.3261, allocations: 48 kB / 0.6447 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008453/0.3269, allocations: 0.6082 MB / 0.6453 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.016e-05/0.3269, allocations: 7.938 kB / 0.6453 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.008e-05/0.327, allocations: 24 kB / 0.6454 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.854e-05/0.327, allocations: 12 kB / 0.6454 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004073/0.3274, allocations: 259.3 kB / 0.6456 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3326/0.66, allocations: 7.081 MB / 0.6525 GB, free: 114.8 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.725e-05/0.6601, allocations: 168.5 kB / 0.6527 GB, free: 114.6 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.547e-05/0.6601, allocations: 86.23 kB / 0.6528 GB, free: 114.5 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.6601, allocations: 77.78 kB / 0.6529 GB, free: 114.4 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.379e-05/0.6602, allocations: 106.8 kB / 0.653 GB, free: 114.3 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 3.416e-06/0.6602, allocations: 1.812 kB / 0.653 GB, free: 114.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 0.0002416/0.6604, allocations: 108.8 kB / 0.6531 GB, free: 114.3 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.665e-05/0.6605, allocations: 126.7 kB / 0.6532 GB, free: 114.1 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001015/0.6615, allocations: 0.781 MB / 0.654 GB, free: 114 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.114e-05/0.6615, allocations: 29.31 kB / 0.654 GB, free: 113.9 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002873/0.6618, allocations: 392.8 kB / 0.6544 GB, free: 113.8 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.567e-06/0.6618, allocations: 0 / 0.6544 GB, free: 113.8 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.488e-05/0.6619, allocations: 38.47 kB / 0.6544 GB, free: 113.8 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.886e-05/0.662, allocations: 321.1 kB / 0.6547 GB, free: 113.5 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.757e-05/0.662, allocations: 14.27 kB / 0.6547 GB, free: 113.5 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.41e-05/0.6621, allocations: 85.34 kB / 0.6548 GB, free: 113.4 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001231/0.6622, allocations: 115.9 kB / 0.6549 GB, free: 113.3 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.6622, allocations: 1.75 kB / 0.6549 GB, free: 113.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003946/0.6626, allocations: 207.2 kB / 0.6551 GB, free: 113.2 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.938e-05/0.6626, allocations: 5.125 kB / 0.6551 GB, free: 113.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/0.6626, allocations: 2.781 kB / 0.6551 GB, free: 113.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.939e-05/0.6627, allocations: 8.25 kB / 0.6551 GB, free: 113.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000141/0.6628, allocations: 26.78 kB / 0.6551 GB, free: 113.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.588e-05/0.6628, allocations: 6.281 kB / 0.6552 GB, free: 113.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002764/0.6631, allocations: 51.59 kB / 0.6552 GB, free: 113.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.932e-05/0.6631, allocations: 5.719 kB / 0.6552 GB, free: 113.2 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.0002069/0.6633, allocations: 238.8 kB / 0.6554 GB, free: 113 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001277/0.6635, allocations: 188.5 kB / 0.6556 GB, free: 112.9 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001127/0.6636, allocations: 173.7 kB / 0.6558 GB, free: 112.7 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.101e-05/0.6636, allocations: 183.6 kB / 0.656 GB, free: 112.5 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.793e-05/0.6637, allocations: 180.9 kB / 0.6561 GB, free: 112.4 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.82e-05/0.6637, allocations: 183.8 kB / 0.6563 GB, free: 112.2 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005574/0.6643, allocations: 0.6453 MB / 0.6569 GB, free: 111.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.661e-05/0.6643, allocations: 105.5 kB / 0.657 GB, free: 111.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.328e-05/0.6643, allocations: 102 kB / 0.6571 GB, free: 111.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.303e-05/0.6644, allocations: 184.1 kB / 0.6573 GB, free: 111.3 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.35e-05/0.6644, allocations: 183.9 kB / 0.6575 GB, free: 111.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.04e-05/0.6644, allocations: 179.8 kB / 0.6577 GB, free: 110.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.369e-05/0.6645, allocations: 184.7 kB / 0.6578 GB, free: 110.7 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001657/0.6647, allocations: 385.3 kB / 0.6582 GB, free: 110.3 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001743/0.6648, allocations: 258.2 kB / 0.6584 GB, free: 110.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001292/0.665, allocations: 182.8 kB / 0.6586 GB, free: 109.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001815/0.6651, allocations: 105.4 kB / 0.6587 GB, free: 109.8 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.435e-05/0.6652, allocations: 182.7 kB / 0.6589 GB, free: 109.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.141e-05/0.6652, allocations: 102.2 kB / 0.659 GB, free: 109.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007202/0.666, allocations: 0.5298 MB / 0.6595 GB, free: 109.3 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/0.666, allocations: 0 / 0.6595 GB, free: 109.3 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002654/0.6686, allocations: 0.7587 MB / 0.6602 GB, free: 109.2 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.003876/0.6725, allocations: 1.725 MB / 0.6619 GB, free: 108.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002348/0.6727, allocations: 43.44 kB / 0.662 GB, free: 108.3 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.6727, allocations: 2.875 kB / 0.662 GB, free: 108.3 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.096e-06/0.6727, allocations: 1.391 kB / 0.662 GB, free: 108.3 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002953/0.6757, allocations: 0.8901 MB / 0.6628 GB, free: 107.8 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009593/0.6853, allocations: 4.765 MB / 0.6675 GB, free: 105 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005107/0.6858, allocations: 0.8812 MB / 0.6684 GB, free: 104.3 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007077/0.6865, allocations: 120.7 kB / 0.6685 GB, free: 104.3 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003756/0.6869, allocations: 256.2 kB / 0.6687 GB, free: 104.1 MB / 0.4981 GB Notification: Performance of SimCode: time 1.303e-06/0.6869, allocations: 0 / 0.6687 GB, free: 104.1 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07102/0.7579, allocations: 34.13 MB / 0.702 GB, free: 76.13 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.54/11.3, allocations: 6.812 kB / 0.7021 GB, free: 76.13 MB / 0.4981 GB " [Timeout remaining time 649] (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: 14.779228047991637] Failed to read output from testmodel.py, exit status != 0: 11.4435140209971 11.462055842 11.136079604 Calling exit ...