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.001585/0.001585, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001743/0.001743, allocations: 213.2 kB / 24.48 MB, free: 3.84 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.396/1.396, allocations: 207.7 MB / 235.3 MB, free: 9.812 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.3202/0.3202, allocations: 49.6 MB / 337.2 MB, free: 3.895 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: 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.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.002218/0.002218, allocations: 71.91 kB / 477.6 MB, free: 12.26 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.13, allocations: 62.44 MB / 0.5274 GB, free: 13.63 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.3938/0.5238, allocations: 99.98 MB / 0.625 GB, free: 0.8789 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002759/0.5266, allocations: 0.9269 MB / 0.6259 GB, free: 15.95 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003982/0.527, allocations: 31.62 kB / 0.6259 GB, free: 15.92 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008807/0.5279, allocations: 313.5 kB / 0.6262 GB, free: 15.61 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008033/0.5287, allocations: 441 kB / 0.6267 GB, free: 15.18 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01228/0.5409, allocations: 4.454 MB / 0.631 GB, free: 10.7 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002094/0.543, allocations: 1.323 MB / 0.6323 GB, free: 9.375 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000634/0.5437, allocations: 367.4 kB / 0.6327 GB, free: 9.004 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006319/0.5443, allocations: 474.1 kB / 0.6331 GB, free: 8.539 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005805/0.5449, allocations: 421.8 kB / 0.6335 GB, free: 8.125 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.237e-05/0.545, allocations: 36 kB / 0.6335 GB, free: 8.09 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00874/0.5537, allocations: 4.143 MB / 0.6376 GB, free: 3.941 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001993/0.5539, allocations: 115.4 kB / 0.6377 GB, free: 3.828 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000421/0.5543, allocations: 294.4 kB / 0.638 GB, free: 3.539 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006136/0.5604, allocations: 3.058 MB / 0.641 GB, free: 484 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.5605, allocations: 0 / 0.641 GB, free: 484 kB / 478.1 MB Notification: Performance of FrontEnd: time 4.729e-06/0.5605, allocations: 3.984 kB / 0.641 GB, free: 480 kB / 478.1 MB Notification: Performance of Transformations before backend: time 9.809e-06/0.5605, allocations: 0 / 0.641 GB, free: 480 kB / 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.002037/0.5625, allocations: 1.246 MB / 0.6422 GB, free: 15.18 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.5625, allocations: 8.031 kB / 0.6422 GB, free: 15.17 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001437/0.5627, allocations: 96.38 kB / 0.6423 GB, free: 15.08 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007148/0.5634, allocations: 426 kB / 0.6427 GB, free: 14.63 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.55e-05/0.5634, allocations: 37.38 kB / 0.6427 GB, free: 14.59 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.683e-05/0.5635, allocations: 47.94 kB / 0.6428 GB, free: 14.55 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000839/0.5643, allocations: 0.6121 MB / 0.6434 GB, free: 13.81 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.244e-05/0.5644, allocations: 11.94 kB / 0.6434 GB, free: 13.8 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.994e-05/0.5644, allocations: 20 kB / 0.6434 GB, free: 13.78 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.556e-05/0.5644, allocations: 12 kB / 0.6434 GB, free: 13.77 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004162/0.5648, allocations: 251.4 kB / 0.6437 GB, free: 13.52 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003903/0.5687, allocations: 4.41 MB / 0.648 GB, free: 8.945 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.5688, allocations: 173.1 kB / 0.6481 GB, free: 8.766 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.367e-05/0.5689, allocations: 84.14 kB / 0.6482 GB, free: 8.68 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.393e-05/0.5689, allocations: 79.28 kB / 0.6483 GB, free: 8.602 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.267e-05/0.569, allocations: 113.8 kB / 0.6484 GB, free: 8.48 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 1.313e-06/0.569, allocations: 0 / 0.6484 GB, free: 8.48 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001391/0.5691, allocations: 77.38 kB / 0.6485 GB, free: 8.398 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.363e-05/0.5692, allocations: 126.7 kB / 0.6486 GB, free: 8.262 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005955/0.5698, allocations: 0.5079 MB / 0.6491 GB, free: 7.746 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.5698, allocations: 25.7 kB / 0.6491 GB, free: 7.715 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003392/0.5702, allocations: 419.5 kB / 0.6495 GB, free: 7.301 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.276e-06/0.5702, allocations: 3.938 kB / 0.6495 GB, free: 7.297 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.654e-05/0.5702, allocations: 37.7 kB / 0.6496 GB, free: 7.254 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001934/0.5704, allocations: 358.8 kB / 0.6499 GB, free: 6.895 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.781e-05/0.5705, allocations: 23.98 kB / 0.6499 GB, free: 6.871 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001005/0.5706, allocations: 90.23 kB / 0.65 GB, free: 6.746 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001549/0.5707, allocations: 114.2 kB / 0.6501 GB, free: 6.598 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.349e-06/0.5707, allocations: 3.938 kB / 0.6501 GB, free: 6.594 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003168/0.571, allocations: 173 kB / 0.6503 GB, free: 6.418 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.5711, allocations: 8.359 kB / 0.6503 GB, free: 6.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.5711, allocations: 12 kB / 0.6503 GB, free: 6.398 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.5711, allocations: 4 kB / 0.6503 GB, free: 6.395 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.5712, allocations: 27.92 kB / 0.6503 GB, free: 6.367 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/0.5712, allocations: 7.984 kB / 0.6503 GB, free: 6.359 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001355/0.5713, allocations: 15.89 kB / 0.6504 GB, free: 6.344 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.099e-05/0.5714, allocations: 8 kB / 0.6504 GB, free: 6.336 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.0002128/0.5716, allocations: 233 kB / 0.6506 GB, free: 6.098 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000133/0.5717, allocations: 156.7 kB / 0.6507 GB, free: 5.938 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001082/0.5718, allocations: 152.8 kB / 0.6509 GB, free: 5.781 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.767e-05/0.5719, allocations: 180.3 kB / 0.651 GB, free: 5.598 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.949e-05/0.572, allocations: 184.2 kB / 0.6512 GB, free: 5.41 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.36e-05/0.5721, allocations: 176.3 kB / 0.6514 GB, free: 5.23 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004807/0.5726, allocations: 0.5592 MB / 0.6519 GB, free: 4.633 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-05/0.5726, allocations: 104.9 kB / 0.652 GB, free: 4.523 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.735e-05/0.5727, allocations: 105 kB / 0.6521 GB, free: 4.414 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.076e-05/0.5728, allocations: 188.2 kB / 0.6523 GB, free: 4.223 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.553e-05/0.5728, allocations: 176.5 kB / 0.6525 GB, free: 4.043 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.43e-05/0.5729, allocations: 184.2 kB / 0.6527 GB, free: 3.855 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.968e-05/0.573, allocations: 188.2 kB / 0.6528 GB, free: 3.664 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002402/0.5732, allocations: 371.3 kB / 0.6532 GB, free: 3.277 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/0.5734, allocations: 144.7 kB / 0.6533 GB, free: 3.129 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001345/0.5735, allocations: 176.3 kB / 0.6535 GB, free: 2.949 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001623/0.5737, allocations: 108.9 kB / 0.6536 GB, free: 2.836 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.663e-05/0.5737, allocations: 180.3 kB / 0.6538 GB, free: 2.652 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.656e-05/0.5738, allocations: 108.9 kB / 0.6539 GB, free: 2.539 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003783/0.5742, allocations: 351.1 kB / 0.6542 GB, free: 2.203 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5742, allocations: 0 / 0.6542 GB, free: 2.203 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002187/0.5764, allocations: 0.7906 MB / 0.655 GB, free: 1.406 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.002393/0.5788, allocations: 0.9964 MB / 0.656 GB, free: 404 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001314/0.5789, allocations: 39.86 kB / 0.656 GB, free: 364 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.5789, allocations: 4 kB / 0.656 GB, free: 360 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.687e-06/0.5789, allocations: 3.984 kB / 0.656 GB, free: 356 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001471/0.5804, allocations: 0.6747 MB / 0.6567 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001339/0.5817, allocations: 0.9812 MB / 0.6576 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002737/0.582, allocations: 284.5 kB / 0.6579 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.612e-05/0.5821, allocations: 43.41 kB / 0.6579 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of SimCode: time 4.51e-07/0.5821, allocations: 4 kB / 0.6579 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of Templates: time 0.02657/0.6086, allocations: 17.66 MB / 0.6752 GB, free: 12.61 MB / 0.5137 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: 8.936903466004878] Failed to read output from testmodel.py, exit status != 0: 0.6170541374012828 0.631262278 0.067760868 Calling exit ...