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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001605/0.001605, allocations: 120.8 kB / 18.46 MB, free: 4.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 190.9 kB / 21.4 MB, free: 1.52 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.648/1.648, allocations: 207.6 MB / 231.8 MB, free: 3.996 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4954/0.4954, allocations: 49.51 MB / 333.2 MB, free: 0.7383 MB / 254.1 MB " [Timeout remaining time 179] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.WaterComponents.TestSources,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestSources") translateModel(ThermoPower.Test.WaterComponents.TestSources,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestSources") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002104/0.002104, allocations: 71.33 kB / 471.9 MB, free: 40.82 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1488, allocations: 62.34 MB / 0.5218 GB, free: 1.82 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-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 3.1.0-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.1417/0.2905, allocations: 107.4 MB / 0.6266 GB, free: 6.059 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003352/0.2938, allocations: 0.9192 MB / 0.6275 GB, free: 5.137 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007155/0.2946, allocations: 23.81 kB / 0.6276 GB, free: 5.113 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009674/0.2955, allocations: 301.4 kB / 0.6278 GB, free: 4.816 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001025/0.2966, allocations: 453 kB / 0.6283 GB, free: 4.371 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01466/0.3112, allocations: 4.524 MB / 0.6327 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002767/0.314, allocations: 1.315 MB / 0.634 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007569/0.3147, allocations: 379 kB / 0.6343 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007969/0.3155, allocations: 454.2 kB / 0.6348 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006439/0.3162, allocations: 445.8 kB / 0.6352 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.379e-05/0.3162, allocations: 36 kB / 0.6352 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01102/0.3273, allocations: 4.44 MB / 0.6396 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003039/0.3276, allocations: 115.3 kB / 0.6397 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006904/0.3283, allocations: 362 kB / 0.64 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01018/0.3384, allocations: 3.105 MB / 0.6431 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.676e-06/0.3384, allocations: 3.984 kB / 0.6431 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.045e-06/0.3384, allocations: 0 / 0.6431 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.255e-05/0.3385, allocations: 0 / 0.6431 GB, free: 5.176 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.003051/0.3415, allocations: 1.317 MB / 0.6443 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.847e-05/0.3416, allocations: 15.89 kB / 0.6444 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001811/0.3418, allocations: 92.38 kB / 0.6444 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007978/0.3426, allocations: 0.496 MB / 0.6449 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.16e-05/0.3426, allocations: 41.12 kB / 0.645 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.419e-05/0.3427, allocations: 48 kB / 0.645 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009915/0.3437, allocations: 0.6043 MB / 0.6456 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.202e-05/0.3437, allocations: 11.88 kB / 0.6456 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.563e-05/0.3437, allocations: 27.98 kB / 0.6456 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.985e-05/0.3438, allocations: 16 kB / 0.6457 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004195/0.3442, allocations: 247.4 kB / 0.6459 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4093/0.7534, allocations: 7.081 MB / 0.6528 GB, free: 114.3 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.639e-05/0.7535, allocations: 170.2 kB / 0.653 GB, free: 114.1 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.476e-05/0.7535, allocations: 84.08 kB / 0.6531 GB, free: 114 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.425e-05/0.7536, allocations: 77.16 kB / 0.6531 GB, free: 113.9 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.7536, allocations: 110.4 kB / 0.6532 GB, free: 113.8 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 2.094e-06/0.7536, allocations: 0 / 0.6532 GB, free: 113.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 0.0002098/0.7538, allocations: 112.5 kB / 0.6533 GB, free: 113.8 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.202e-05/0.7539, allocations: 132.1 kB / 0.6535 GB, free: 113.6 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009894/0.7548, allocations: 0.7773 MB / 0.6542 GB, free: 113.5 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.127e-06/0.7549, allocations: 25.7 kB / 0.6543 GB, free: 113.4 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002682/0.7551, allocations: 393.6 kB / 0.6546 GB, free: 113.3 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.547e-06/0.7551, allocations: 2 kB / 0.6546 GB, free: 113.3 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.499e-05/0.7552, allocations: 35.17 kB / 0.6547 GB, free: 113.3 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.338e-05/0.7553, allocations: 313.2 kB / 0.655 GB, free: 113 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.793e-05/0.7553, allocations: 14.22 kB / 0.655 GB, free: 113 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.593e-05/0.7554, allocations: 95.55 kB / 0.6551 GB, free: 112.9 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000115/0.7555, allocations: 115.5 kB / 0.6552 GB, free: 112.8 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.7555, allocations: 0 / 0.6552 GB, free: 112.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000332/0.7558, allocations: 207.7 kB / 0.6554 GB, free: 112.7 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.7558, allocations: 5.75 kB / 0.6554 GB, free: 112.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.7559, allocations: 2.844 kB / 0.6554 GB, free: 112.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/0.7559, allocations: 6.938 kB / 0.6554 GB, free: 112.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.756, allocations: 23.36 kB / 0.6554 GB, free: 112.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/0.756, allocations: 16.25 kB / 0.6554 GB, free: 112.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003197/0.7563, allocations: 52.97 kB / 0.6555 GB, free: 112.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.011e-05/0.7564, allocations: 7.5 kB / 0.6555 GB, free: 112.7 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.0002051/0.7566, allocations: 230.2 kB / 0.6557 GB, free: 112.5 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001562/0.7567, allocations: 193 kB / 0.6559 GB, free: 112.3 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001233/0.7568, allocations: 166.5 kB / 0.656 GB, free: 112.2 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.253e-05/0.7569, allocations: 188 kB / 0.6562 GB, free: 112 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.321e-05/0.7569, allocations: 180.2 kB / 0.6564 GB, free: 111.8 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.248e-05/0.7569, allocations: 181.4 kB / 0.6566 GB, free: 111.7 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004547/0.7574, allocations: 0.6435 MB / 0.6572 GB, free: 111.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.669e-05/0.7574, allocations: 105.9 kB / 0.6573 GB, free: 111 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.206e-05/0.7574, allocations: 105.5 kB / 0.6574 GB, free: 110.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.111e-05/0.7575, allocations: 182.6 kB / 0.6576 GB, free: 110.7 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.263e-05/0.7575, allocations: 183.9 kB / 0.6577 GB, free: 110.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.415e-05/0.7575, allocations: 183.4 kB / 0.6579 GB, free: 110.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.29e-05/0.7576, allocations: 181.8 kB / 0.6581 GB, free: 110.2 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001574/0.7577, allocations: 387.3 kB / 0.6585 GB, free: 109.8 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001372/0.7579, allocations: 254.8 kB / 0.6587 GB, free: 109.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/0.758, allocations: 187 kB / 0.6589 GB, free: 109.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001648/0.7581, allocations: 101.6 kB / 0.659 GB, free: 109.3 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.372e-05/0.7582, allocations: 195.6 kB / 0.6592 GB, free: 109.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.516e-05/0.7582, allocations: 101.6 kB / 0.6593 GB, free: 109 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007275/0.7589, allocations: 0.5288 MB / 0.6598 GB, free: 108.8 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7589, allocations: 0 / 0.6598 GB, free: 108.8 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002518/0.7615, allocations: 0.7556 MB / 0.6605 GB, free: 108.7 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.00304/0.7645, allocations: 0.9951 MB / 0.6615 GB, free: 108.5 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001983/0.7647, allocations: 45.33 kB / 0.6615 GB, free: 108.5 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.7647, allocations: 0.9688 kB / 0.6615 GB, free: 108.5 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.084e-06/0.7647, allocations: 0 / 0.6615 GB, free: 108.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002524/0.7672, allocations: 0.8843 MB / 0.6624 GB, free: 107.9 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001629/0.7689, allocations: 0.997 MB / 0.6634 GB, free: 107.3 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004896/0.7693, allocations: 0.8824 MB / 0.6642 GB, free: 106.6 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001401/0.7695, allocations: 55.94 kB / 0.6643 GB, free: 106.6 MB / 0.4981 GB Notification: Performance of SimCode: time 9.91e-07/0.7695, allocations: 0 / 0.6643 GB, free: 106.6 MB / 0.4981 GB Notification: Performance of Templates: time 0.03779/0.8073, allocations: 19.71 MB / 0.6835 GB, free: 95.27 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestSources.makefile [Timeout 660] (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 & ./ThermoPower_ThermoPower.Test.WaterComponents.TestSources -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestSources.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.939497708110139] Failed to read output from testmodel.py, exit status != 0: 0.8151249699294567 0.824684664 0.48388244700000005 Calling exit ...