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.001266/0.001266, allocations: 78.66 kB / 21.42 MB, free: 3.078 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.0009784/0.0009784, allocations: 174.6 kB / 24.83 MB, free: 9.324 MB / 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.8986/0.8986, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.101/0.101, allocations: 19.74 MB / 281.5 MB, free: 9.082 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.372e-06/1.372e-06, allocations: 0 / 358.4 MB, free: 6.305 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.32e-05/1.457e-05, allocations: 2.312 kB / 358.4 MB, free: 6.301 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.2447/0.2448, allocations: 74.6 MB / 433 MB, free: 13.95 MB / 330.8 MB Notification: Performance of NFInst.instExpressions: time 0.001559/0.2463, allocations: 0.9286 MB / 434 MB, free: 13.8 MB / 330.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002166/0.2465, allocations: 31.84 kB / 434 MB, free: 13.78 MB / 330.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0005118/0.2471, allocations: 304.5 kB / 434.3 MB, free: 13.66 MB / 330.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004939/0.2475, allocations: 459.9 kB / 434.7 MB, free: 13.59 MB / 330.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.006617/0.2542, allocations: 4.546 MB / 439.3 MB, free: 11.91 MB / 330.8 MB Notification: Performance of NFFlatten.flatten: time 0.0007706/0.2549, allocations: 1.372 MB / 440.7 MB, free: 10.94 MB / 330.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000319/0.2553, allocations: 387.6 kB / 441 MB, free: 10.79 MB / 330.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003481/0.2556, allocations: 0.6291 MB / 441.7 MB, free: 10.43 MB / 330.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002528/0.2559, allocations: 357.5 kB / 442 MB, free: 10.2 MB / 330.8 MB Notification: Performance of NFPackage.collectConstants: time 3.57e-05/0.2559, allocations: 36 kB / 442.1 MB, free: 10.16 MB / 330.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004497/0.2604, allocations: 4.179 MB / 446.2 MB, free: 7.918 MB / 330.8 MB Notification: Performance of NFScalarize.scalarize: time 6.043e-05/0.2604, allocations: 106.1 kB / 446.3 MB, free: 7.867 MB / 330.8 MB Notification: Performance of NFVerifyModel.verify: time 0.000118/0.2606, allocations: 233.9 kB / 446.6 MB, free: 7.699 MB / 330.8 MB Notification: Performance of NFConvertDAE.convert: time 0.002488/0.2631, allocations: 3.503 MB / 450.1 MB, free: 5.77 MB / 330.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.2631, allocations: 3.688 kB / 450.1 MB, free: 5.77 MB / 330.8 MB Notification: Performance of FrontEnd: time 8.72e-07/0.2631, allocations: 4 kB / 450.1 MB, free: 5.766 MB / 330.8 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.2631, allocations: 0 / 450.1 MB, free: 5.766 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.0008863/0.2639, allocations: 1.351 MB / 451.4 MB, free: 4.504 MB / 330.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.264, allocations: 8.031 kB / 451.4 MB, free: 4.496 MB / 330.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.712e-05/0.2641, allocations: 130.6 kB / 451.6 MB, free: 4.383 MB / 330.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000326/0.2644, allocations: 462.2 kB / 452 MB, free: 3.965 MB / 330.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.2644, allocations: 35.5 kB / 452 MB, free: 3.945 MB / 330.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.418e-05/0.2644, allocations: 53.25 kB / 452.1 MB, free: 3.91 MB / 330.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000285/0.2647, allocations: 0.6242 MB / 452.7 MB, free: 3.199 MB / 330.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.136e-05/0.2647, allocations: 3.938 kB / 452.7 MB, free: 3.195 MB / 330.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.959e-05/0.2648, allocations: 22.38 kB / 452.7 MB, free: 3.188 MB / 330.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.2648, allocations: 16 kB / 452.8 MB, free: 3.172 MB / 330.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001103/0.2649, allocations: 177.2 kB / 452.9 MB, free: 3.008 MB / 330.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001929/0.2668, allocations: 6.173 MB / 459.1 MB, free: 12.88 MB / 346.8 MB Notification: Performance of preOpt comSubExp (simulation): time 7.952e-05/0.2669, allocations: 265.9 kB / 459.4 MB, free: 12.61 MB / 346.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.041e-05/0.2669, allocations: 138.8 kB / 459.5 MB, free: 12.47 MB / 346.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.759e-05/0.2669, allocations: 123.2 kB / 459.6 MB, free: 12.35 MB / 346.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.317e-05/0.267, allocations: 152.6 kB / 459.8 MB, free: 12.19 MB / 346.8 MB Notification: Performance of pre-optimization done (n=0): time 1.222e-06/0.267, allocations: 0 / 459.8 MB, free: 12.19 MB / 346.8 MB Notification: Performance of matching and sorting (n=0): time 9.016e-05/0.2671, allocations: 89.3 kB / 459.9 MB, free: 12.09 MB / 346.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.411e-05/0.2671, allocations: 170.6 kB / 460 MB, free: 11.91 MB / 346.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004037/0.2675, allocations: 0.5223 MB / 460.5 MB, free: 11.47 MB / 346.8 MB Notification: Performance of collectPreVariables (initialization): time 1.002e-05/0.2675, allocations: 25.7 kB / 460.6 MB, free: 11.44 MB / 346.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002438/0.2678, allocations: 472.8 kB / 461 MB, free: 11.11 MB / 346.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.447e-06/0.2678, allocations: 4 kB / 461 MB, free: 11.11 MB / 346.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.888e-05/0.2678, allocations: 37.5 kB / 461.1 MB, free: 11.07 MB / 346.8 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.268, allocations: 0.5459 MB / 461.6 MB, free: 10.54 MB / 346.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.827e-05/0.268, allocations: 7.938 kB / 461.6 MB, free: 10.53 MB / 346.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.423e-05/0.2681, allocations: 111.3 kB / 461.7 MB, free: 10.38 MB / 346.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001059/0.2682, allocations: 134.1 kB / 461.9 MB, free: 10.2 MB / 346.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2682, allocations: 3.938 kB / 461.9 MB, free: 10.2 MB / 346.8 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002227/0.2684, allocations: 166.8 kB / 462 MB, free: 10.04 MB / 346.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.2684, allocations: 12 kB / 462 MB, free: 10.02 MB / 346.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.2684, allocations: 4 kB / 462.1 MB, free: 10.02 MB / 346.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.2685, allocations: 4 kB / 462.1 MB, free: 10.02 MB / 346.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.477e-05/0.2685, allocations: 27.67 kB / 462.1 MB, free: 9.992 MB / 346.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/0.2685, allocations: 7.875 kB / 462.1 MB, free: 9.984 MB / 346.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/0.2686, allocations: 15.89 kB / 462.1 MB, free: 9.969 MB / 346.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.2687, allocations: 4 kB / 462.1 MB, free: 9.965 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.0001295/0.2688, allocations: 282.1 kB / 462.4 MB, free: 9.68 MB / 346.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.195e-05/0.2689, allocations: 204.5 kB / 462.6 MB, free: 9.473 MB / 346.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.458e-05/0.269, allocations: 200.1 kB / 462.8 MB, free: 9.281 MB / 346.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-05/0.269, allocations: 275.8 kB / 463 MB, free: 9.008 MB / 346.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-05/0.2691, allocations: 270.7 kB / 463.3 MB, free: 8.738 MB / 346.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.095e-05/0.2691, allocations: 264.1 kB / 463.6 MB, free: 8.473 MB / 346.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003324/0.2695, allocations: 0.6061 MB / 464.2 MB, free: 7.875 MB / 346.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.698e-05/0.2695, allocations: 152.9 kB / 464.3 MB, free: 7.719 MB / 346.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.534e-05/0.2696, allocations: 152.5 kB / 464.5 MB, free: 7.566 MB / 346.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.546e-05/0.2696, allocations: 264.8 kB / 464.7 MB, free: 7.301 MB / 346.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.51e-05/0.2697, allocations: 268.1 kB / 465 MB, free: 7.031 MB / 346.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.285e-05/0.2697, allocations: 268 kB / 465.3 MB, free: 6.762 MB / 346.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.038e-05/0.2698, allocations: 268 kB / 465.5 MB, free: 6.492 MB / 346.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001707/0.27, allocations: 0.4933 MB / 466 MB, free: 5.973 MB / 346.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.718e-05/0.2701, allocations: 191.6 kB / 466.2 MB, free: 5.781 MB / 346.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.93e-05/0.2701, allocations: 264.1 kB / 466.5 MB, free: 5.516 MB / 346.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/0.2703, allocations: 148.9 kB / 466.6 MB, free: 5.363 MB / 346.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.523e-05/0.2703, allocations: 276 kB / 466.9 MB, free: 5.086 MB / 346.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.487e-05/0.2704, allocations: 148.9 kB / 467 MB, free: 4.934 MB / 346.8 MB Notification: Performance of sorting global known variables: time 0.0002072/0.2706, allocations: 332.8 kB / 467.3 MB, free: 4.656 MB / 346.8 MB Notification: Performance of sort global known variables: time 8e-08/0.2706, allocations: 0 / 467.3 MB, free: 4.656 MB / 346.8 MB Notification: Performance of remove unused functions: time 0.001172/0.2717, allocations: 0.7935 MB / 468.1 MB, free: 3.902 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.001851/0.2736, allocations: 1.155 MB / 469.3 MB, free: 2.828 MB / 346.8 MB Notification: Performance of simCode: created initialization part: time 8.947e-05/0.2737, allocations: 47.95 kB / 469.3 MB, free: 2.781 MB / 346.8 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2737, allocations: 0 / 469.3 MB, free: 2.781 MB / 346.8 MB Notification: Performance of simCode: created simulation system equations: time 1.092e-06/0.2737, allocations: 0 / 469.3 MB, free: 2.781 MB / 346.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001019/0.2747, allocations: 0.9451 MB / 470.3 MB, free: 1.863 MB / 346.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/0.2758, allocations: 0.9761 MB / 471.3 MB, free: 0.875 MB / 346.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.656e-05/0.2759, allocations: 113.3 kB / 471.4 MB, free: 0.7461 MB / 346.8 MB Notification: Performance of simCode: alias equations: time 0.0001627/0.2761, allocations: 91.16 kB / 471.5 MB, free: 0.6523 MB / 346.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000255/0.2763, allocations: 212.9 kB / 471.7 MB, free: 460 kB / 346.8 MB Notification: Performance of SimCode: time 6.71e-07/0.2763, allocations: 0 / 471.7 MB, free: 460 kB / 346.8 MB Notification: Performance of Templates: time 0.03513/0.3115, allocations: 25.35 MB / 497 MB, free: 7.34 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.323131985962391]