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.0008989/0.0008989, allocations: 87.58 kB / 21.19 MB, free: 3.371 MB / 18.57 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.001174/0.001174, allocations: 165 kB / 24.56 MB, free: 4 kB / 18.57 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 0.9671/0.9671, allocations: 177.1 MB / 205 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] 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.09405/0.09405, allocations: 19.74 MB / 281.2 MB, free: 9.262 MB / 266.7 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: translateModel(ThermoPower.Test.WaterComponents.TestSources,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestSources") translateModel(ThermoPower.Test.WaterComponents.TestSources,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestSources") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 358 MB, free: 6.598 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.139e-05/2.298e-05, allocations: 2.312 kB / 358 MB, free: 6.594 MB / 282.7 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.2513/0.2513, allocations: 75.41 MB / 433.4 MB, free: 13.66 MB / 330.8 MB Notification: Performance of NFInst.instExpressions: time 0.001643/0.2529, allocations: 0.9276 MB / 434.3 MB, free: 13.52 MB / 330.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002628/0.2532, allocations: 32.44 kB / 434.3 MB, free: 13.49 MB / 330.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0005996/0.2538, allocations: 304.4 kB / 434.6 MB, free: 13.37 MB / 330.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0005425/0.2543, allocations: 458.8 kB / 435.1 MB, free: 13.31 MB / 330.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.007423/0.2618, allocations: 4.542 MB / 439.6 MB, free: 11.7 MB / 330.8 MB Notification: Performance of NFFlatten.flatten: time 0.001017/0.2628, allocations: 1.371 MB / 441 MB, free: 10.72 MB / 330.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000364/0.2631, allocations: 393 kB / 441.4 MB, free: 10.57 MB / 330.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003853/0.2635, allocations: 0.6281 MB / 442 MB, free: 10.21 MB / 330.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002834/0.2638, allocations: 356.8 kB / 442.4 MB, free: 9.984 MB / 330.8 MB Notification: Performance of NFPackage.collectConstants: time 4.089e-05/0.2639, allocations: 36 kB / 442.4 MB, free: 9.949 MB / 330.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005028/0.2689, allocations: 4.164 MB / 446.6 MB, free: 7.711 MB / 330.8 MB Notification: Performance of NFScalarize.scalarize: time 7.459e-05/0.269, allocations: 121.1 kB / 446.7 MB, free: 7.652 MB / 330.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001547/0.2691, allocations: 228.8 kB / 446.9 MB, free: 7.484 MB / 330.8 MB Notification: Performance of NFConvertDAE.convert: time 0.003442/0.2726, allocations: 3.504 MB / 450.4 MB, free: 5.551 MB / 330.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.2726, allocations: 0 / 450.4 MB, free: 5.551 MB / 330.8 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2726, allocations: 0 / 450.4 MB, free: 5.551 MB / 330.8 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.2726, allocations: 0 / 450.4 MB, free: 5.551 MB / 330.8 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.00104/0.2736, allocations: 1.347 MB / 451.7 MB, free: 4.285 MB / 330.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.2736, allocations: 12.03 kB / 451.8 MB, free: 4.273 MB / 330.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.754e-05/0.2737, allocations: 134.7 kB / 451.9 MB, free: 4.16 MB / 330.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003758/0.2741, allocations: 457.1 kB / 452.3 MB, free: 3.746 MB / 330.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.217e-05/0.2741, allocations: 36.31 kB / 452.4 MB, free: 3.727 MB / 330.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.416e-05/0.2742, allocations: 53.12 kB / 452.4 MB, free: 3.691 MB / 330.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003904/0.2746, allocations: 0.6519 MB / 453.1 MB, free: 2.961 MB / 330.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.2746, allocations: 3.938 kB / 453.1 MB, free: 2.957 MB / 330.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.437e-05/0.2746, allocations: 22.62 kB / 453.1 MB, free: 2.949 MB / 330.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.41e-05/0.2746, allocations: 16 kB / 453.1 MB, free: 2.934 MB / 330.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000196/0.2748, allocations: 206.7 kB / 453.3 MB, free: 2.75 MB / 330.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002175/0.277, allocations: 6.246 MB / 459.6 MB, free: 12.57 MB / 346.8 MB Notification: Performance of preOpt comSubExp (simulation): time 7.985e-05/0.2771, allocations: 269.4 kB / 459.8 MB, free: 12.29 MB / 346.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.28e-05/0.2771, allocations: 126.9 kB / 460 MB, free: 12.16 MB / 346.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.526e-05/0.2771, allocations: 119.2 kB / 460.1 MB, free: 12.04 MB / 346.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.498e-05/0.2772, allocations: 156.5 kB / 460.2 MB, free: 11.88 MB / 346.8 MB Notification: Performance of pre-optimization done (n=0): time 1.694e-06/0.2772, allocations: 224 / 460.2 MB, free: 11.88 MB / 346.8 MB Notification: Performance of matching and sorting (n=0): time 8.68e-05/0.2773, allocations: 81.38 kB / 460.3 MB, free: 11.79 MB / 346.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.787e-05/0.2773, allocations: 178.2 kB / 460.5 MB, free: 11.61 MB / 346.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003727/0.2777, allocations: 0.5329 MB / 461 MB, free: 11.15 MB / 346.8 MB Notification: Performance of collectPreVariables (initialization): time 9.158e-06/0.2777, allocations: 25.7 kB / 461 MB, free: 11.12 MB / 346.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002009/0.2779, allocations: 468.5 kB / 461.5 MB, free: 10.79 MB / 346.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.633e-06/0.2779, allocations: 7.938 kB / 461.5 MB, free: 10.78 MB / 346.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.316e-05/0.2779, allocations: 37.98 kB / 461.5 MB, free: 10.74 MB / 346.8 MB Notification: Performance of setup shared object (initialization): time 0.0003967/0.2783, allocations: 0.5283 MB / 462.1 MB, free: 10.22 MB / 346.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.311e-05/0.2784, allocations: 10.11 kB / 462.1 MB, free: 10.21 MB / 346.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.597e-05/0.2784, allocations: 116.6 kB / 462.2 MB, free: 10.05 MB / 346.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001002/0.2785, allocations: 144.3 kB / 462.3 MB, free: 9.867 MB / 346.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.2785, allocations: 0 / 462.3 MB, free: 9.867 MB / 346.8 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002134/0.2787, allocations: 172.9 kB / 462.5 MB, free: 9.703 MB / 346.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.2788, allocations: 4 kB / 462.5 MB, free: 9.699 MB / 346.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.2788, allocations: 4 kB / 462.5 MB, free: 9.695 MB / 346.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.2788, allocations: 7.984 kB / 462.5 MB, free: 9.688 MB / 346.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.923e-05/0.2789, allocations: 23.94 kB / 462.5 MB, free: 9.664 MB / 346.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.904e-06/0.2789, allocations: 7.984 kB / 462.5 MB, free: 9.656 MB / 346.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.123e-05/0.2789, allocations: 14.27 kB / 462.6 MB, free: 9.645 MB / 346.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.555e-05/0.279, allocations: 12 kB / 462.6 MB, free: 9.633 MB / 346.8 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.0001251/0.2791, allocations: 289.2 kB / 462.9 MB, free: 9.344 MB / 346.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.473e-05/0.2792, allocations: 200.5 kB / 463 MB, free: 9.141 MB / 346.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.12e-05/0.2792, allocations: 191.6 kB / 463.2 MB, free: 8.957 MB / 346.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.112e-05/0.2793, allocations: 272 kB / 463.5 MB, free: 8.684 MB / 346.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-05/0.2793, allocations: 264.1 kB / 463.8 MB, free: 8.418 MB / 346.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-05/0.2794, allocations: 271.4 kB / 464 MB, free: 8.148 MB / 346.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003108/0.2797, allocations: 0.694 MB / 464.7 MB, free: 7.48 MB / 346.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.053e-05/0.2797, allocations: 148.9 kB / 464.9 MB, free: 7.328 MB / 346.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.342e-05/0.2798, allocations: 158.1 kB / 465 MB, free: 7.168 MB / 346.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.191e-05/0.2798, allocations: 268.1 kB / 465.3 MB, free: 6.898 MB / 346.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.627e-05/0.2799, allocations: 275.9 kB / 465.5 MB, free: 6.621 MB / 346.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.456e-05/0.2799, allocations: 271.5 kB / 465.8 MB, free: 6.352 MB / 346.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.258e-05/0.28, allocations: 264.1 kB / 466.1 MB, free: 6.086 MB / 346.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001421/0.2801, allocations: 491.6 kB / 466.6 MB, free: 5.578 MB / 346.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.669e-05/0.2802, allocations: 197.1 kB / 466.7 MB, free: 5.383 MB / 346.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.004e-05/0.2803, allocations: 272 kB / 467 MB, free: 5.109 MB / 346.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.813e-05/0.2804, allocations: 144.9 kB / 467.2 MB, free: 4.961 MB / 346.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.126e-05/0.2804, allocations: 268 kB / 467.4 MB, free: 4.691 MB / 346.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.988e-05/0.2804, allocations: 148.9 kB / 467.6 MB, free: 4.539 MB / 346.8 MB Notification: Performance of sorting global known variables: time 0.0002226/0.2807, allocations: 354.8 kB / 467.9 MB, free: 4.246 MB / 346.8 MB Notification: Performance of sort global known variables: time 7e-08/0.2807, allocations: 4 kB / 467.9 MB, free: 4.242 MB / 346.8 MB Notification: Performance of remove unused functions: time 0.001441/0.2821, allocations: 0.7946 MB / 468.7 MB, free: 3.488 MB / 346.8 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.001994/0.2841, allocations: 1.136 MB / 469.8 MB, free: 2.434 MB / 346.8 MB Notification: Performance of simCode: created initialization part: time 0.0001072/0.2842, allocations: 43.8 kB / 469.9 MB, free: 2.391 MB / 346.8 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2842, allocations: 0 / 469.9 MB, free: 2.391 MB / 346.8 MB Notification: Performance of simCode: created simulation system equations: time 1.893e-06/0.2842, allocations: 8 kB / 469.9 MB, free: 2.383 MB / 346.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008743/0.2851, allocations: 0.9445 MB / 470.8 MB, free: 1.465 MB / 346.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001088/0.2862, allocations: 0.971 MB / 471.8 MB, free: 492 kB / 346.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.306e-05/0.2862, allocations: 117.2 kB / 471.9 MB, free: 356 kB / 346.8 MB Notification: Performance of simCode: alias equations: time 0.000143/0.2864, allocations: 91.16 kB / 472 MB, free: 260 kB / 346.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.778e-05/0.2864, allocations: 32.5 kB / 472 MB, free: 228 kB / 346.8 MB Notification: Performance of SimCode: time 6.32e-07/0.2864, allocations: 4 kB / 472 MB, free: 224 kB / 346.8 MB Notification: Performance of Templates: time 0.02206/0.3085, allocations: 22.78 MB / 494.8 MB, free: 9.656 MB / 378.8 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestSources.makefile [Timeout 660] (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 & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestSources -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestSources.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.461501178331673]