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.001358/0.001358, allocations: 75.75 kB / 21.69 MB, free: 2.852 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.001478/0.001478, allocations: 162.2 kB / 24.99 MB, free: 8.746 MB / 18.57 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 0.8135/0.8135, allocations: 158.6 MB / 186.8 MB, free: 2.906 MB / 170.7 MB " [Timeout remaining time 179] 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.1746/0.1746, allocations: 36.33 MB / 275.4 MB, free: 10.72 MB / 266.7 MB " [Timeout remaining time 180] 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: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 353.8 MB, free: 3.742 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.396e-05/1.563e-05, allocations: 2.312 kB / 353.8 MB, free: 3.738 MB / 282.7 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.2079/0.2079, allocations: 112.4 MB / 466.2 MB, free: 13.22 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001589/0.2095, allocations: 0.926 MB / 467.1 MB, free: 13.08 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002817/0.2097, allocations: 39.66 kB / 467.1 MB, free: 13.05 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005515/0.2103, allocations: 309.4 kB / 467.4 MB, free: 12.93 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005035/0.2108, allocations: 469.2 kB / 467.9 MB, free: 12.82 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006548/0.2173, allocations: 4.531 MB / 472.4 MB, free: 10.77 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008277/0.2182, allocations: 1.381 MB / 473.8 MB, free: 9.789 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003383/0.2185, allocations: 386.5 kB / 474.2 MB, free: 9.637 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003668/0.2189, allocations: 0.6368 MB / 474.8 MB, free: 9.277 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002689/0.2191, allocations: 354.5 kB / 475.2 MB, free: 9.051 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.669e-05/0.2192, allocations: 36 kB / 475.2 MB, free: 9.016 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003767/0.2229, allocations: 4.161 MB / 479.4 MB, free: 6.777 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.42e-05/0.223, allocations: 113.5 kB / 479.5 MB, free: 6.723 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001332/0.2231, allocations: 236.9 kB / 479.7 MB, free: 6.551 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002475/0.2256, allocations: 3.487 MB / 483.2 MB, free: 5.023 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.2256, allocations: 0 / 483.2 MB, free: 5.023 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2256, allocations: 0 / 483.2 MB, free: 5.023 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.543e-06/0.2256, allocations: 0 / 483.2 MB, free: 5.023 MB / 362.7 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.001118/0.2267, allocations: 1.338 MB / 484.5 MB, free: 3.852 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.2268, allocations: 9.531 kB / 484.5 MB, free: 3.844 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.785e-05/0.2269, allocations: 132.6 kB / 484.7 MB, free: 3.73 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003944/0.2273, allocations: 460.3 kB / 485.1 MB, free: 3.363 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/0.2273, allocations: 34.19 kB / 485.1 MB, free: 3.344 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.94e-05/0.2273, allocations: 48.44 kB / 485.2 MB, free: 3.312 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000378/0.2277, allocations: 0.6528 MB / 485.8 MB, free: 2.648 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.2277, allocations: 7.938 kB / 485.9 MB, free: 2.641 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.37e-05/0.2277, allocations: 20.81 kB / 485.9 MB, free: 2.637 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.277e-05/0.2277, allocations: 16 kB / 485.9 MB, free: 2.621 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001996/0.2279, allocations: 204.7 kB / 486.1 MB, free: 2.473 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002295/0.2302, allocations: 6.24 MB / 492.3 MB, free: 12.47 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.49e-05/0.2303, allocations: 269.3 kB / 492.6 MB, free: 12.2 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.038e-05/0.2303, allocations: 126.9 kB / 492.7 MB, free: 12.07 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/0.2304, allocations: 119.2 kB / 492.8 MB, free: 11.95 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.22e-05/0.2304, allocations: 168.5 kB / 493 MB, free: 11.78 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.2304, allocations: 0 / 493 MB, free: 11.78 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 9.048e-05/0.2305, allocations: 81.94 kB / 493.1 MB, free: 11.7 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.676e-05/0.2305, allocations: 174.6 kB / 493.3 MB, free: 11.51 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000356/0.2309, allocations: 0.5295 MB / 493.8 MB, free: 11.06 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.656e-06/0.2309, allocations: 25.7 kB / 493.8 MB, free: 11.03 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001952/0.2311, allocations: 469.5 kB / 494.3 MB, free: 10.7 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.307e-06/0.2311, allocations: 0 / 494.3 MB, free: 10.7 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.872e-05/0.2312, allocations: 42.31 kB / 494.3 MB, free: 10.65 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.2313, allocations: 0.5276 MB / 494.8 MB, free: 10.13 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.184e-05/0.2313, allocations: 9.672 kB / 494.8 MB, free: 10.12 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.109e-05/0.2314, allocations: 119.9 kB / 495 MB, free: 9.961 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.11e-05/0.2315, allocations: 143.3 kB / 495.1 MB, free: 9.781 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.2315, allocations: 0 / 495.1 MB, free: 9.781 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002045/0.2317, allocations: 171.5 kB / 495.3 MB, free: 9.617 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.2317, allocations: 8 kB / 495.3 MB, free: 9.609 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.2317, allocations: 0 / 495.3 MB, free: 9.609 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.2317, allocations: 7.984 kB / 495.3 MB, free: 9.602 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.843e-05/0.2318, allocations: 23.98 kB / 495.3 MB, free: 9.578 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.2318, allocations: 8.312 kB / 495.3 MB, free: 9.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.92e-05/0.2318, allocations: 19.52 kB / 495.3 MB, free: 9.555 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.359e-05/0.2319, allocations: 8 kB / 495.3 MB, free: 9.547 MB / 378.7 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.0001193/0.232, allocations: 283.4 kB / 495.6 MB, free: 9.262 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.333e-05/0.232, allocations: 208.4 kB / 495.8 MB, free: 9.051 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.817e-05/0.2321, allocations: 194.9 kB / 496 MB, free: 8.863 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-05/0.2322, allocations: 268 kB / 496.3 MB, free: 8.594 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.174e-05/0.2322, allocations: 264.8 kB / 496.5 MB, free: 8.328 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.142e-05/0.2323, allocations: 271.6 kB / 496.8 MB, free: 8.059 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003091/0.2326, allocations: 0.6977 MB / 497.5 MB, free: 7.387 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.949e-05/0.2326, allocations: 148.9 kB / 497.6 MB, free: 7.234 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.902e-05/0.2326, allocations: 154.9 kB / 497.8 MB, free: 7.078 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.975e-05/0.2327, allocations: 264.1 kB / 498.1 MB, free: 6.812 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.019e-05/0.2327, allocations: 279 kB / 498.3 MB, free: 6.535 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.117e-05/0.2328, allocations: 268 kB / 498.6 MB, free: 6.266 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.181e-05/0.2329, allocations: 264.1 kB / 498.8 MB, free: 6 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001437/0.233, allocations: 0.4911 MB / 499.3 MB, free: 5.484 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003006/0.2333, allocations: 184.6 kB / 499.5 MB, free: 5.297 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.025e-05/0.2334, allocations: 272 kB / 499.8 MB, free: 5.023 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.057e-05/0.2335, allocations: 144.9 kB / 499.9 MB, free: 4.875 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.973e-05/0.2335, allocations: 272.6 kB / 0.4885 GB, free: 4.602 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.227e-05/0.2335, allocations: 155.6 kB / 0.4886 GB, free: 4.445 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002154/0.2338, allocations: 350.4 kB / 0.4889 GB, free: 4.156 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2338, allocations: 0 / 0.4889 GB, free: 4.156 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009375/0.2347, allocations: 0.7886 MB / 0.4897 GB, free: 3.406 MB / 378.7 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.001616/0.2363, allocations: 1.127 MB / 0.4908 GB, free: 2.359 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 9.963e-05/0.2364, allocations: 47.91 kB / 0.4909 GB, free: 2.312 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.2364, allocations: 4.062 kB / 0.4909 GB, free: 2.309 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.62e-07/0.2364, allocations: 4 kB / 0.4909 GB, free: 2.305 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008268/0.2372, allocations: 0.9323 MB / 0.4918 GB, free: 1.398 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001038/0.2383, allocations: 0.9799 MB / 0.4927 GB, free: 420 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.122e-05/0.2383, allocations: 117.2 kB / 0.4928 GB, free: 284 kB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001429/0.2385, allocations: 91.11 kB / 0.4929 GB, free: 192 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.865e-05/0.2385, allocations: 44.42 kB / 0.493 GB, free: 148 kB / 378.7 MB Notification: Performance of SimCode: time 7.51e-07/0.2385, allocations: 0 / 0.493 GB, free: 148 kB / 378.7 MB Notification: Performance of Templates: time 0.021/0.2595, allocations: 22.67 MB / 0.5151 GB, free: 9.57 MB / 410.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestSources.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.38165172515437]