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.0007128/0.0007128, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009899/0.001703, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0006893/0.0006893, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009366/0.001626, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.8714/0.8714, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07306/0.9444, allocations: 53.67 MB / 243.4 MB, free: 15.52 MB / 250.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.08106/0.08106, allocations: 19.78 MB / 263.9 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.009277/0.09034, allocations: 7.553 MB / 271.5 MB, free: 3.363 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.062e-06/1.062e-06, allocations: 0 / 272.8 MB, free: 2.035 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.227e-06/1.029e-05, allocations: 2.312 kB / 272.8 MB, free: 2.031 MB / 266.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.1359/0.1359, allocations: 51.56 MB / 324.4 MB, free: 9.941 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00172/0.1376, allocations: 0.9744 MB / 325.4 MB, free: 8.965 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002611/0.1379, allocations: 35.56 kB / 325.4 MB, free: 8.93 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004351/0.1383, allocations: 297.4 kB / 325.7 MB, free: 8.637 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004824/0.1388, allocations: 464.5 kB / 326.1 MB, free: 8.18 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008415/0.1472, allocations: 4.272 MB / 330.4 MB, free: 3.891 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009986/0.1482, allocations: 1.37 MB / 331.8 MB, free: 2.516 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003955/0.1486, allocations: 405.4 kB / 332.2 MB, free: 2.098 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005212/0.1491, allocations: 0.681 MB / 332.9 MB, free: 1.414 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002935/0.1494, allocations: 330.8 kB / 333.2 MB, free: 1.09 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.006e-05/0.1494, allocations: 36 kB / 333.2 MB, free: 1.055 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00531/0.1547, allocations: 4.427 MB / 337.6 MB, free: 12.62 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.472e-05/0.1548, allocations: 95.48 kB / 337.7 MB, free: 12.53 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001327/0.155, allocations: 207.5 kB / 337.9 MB, free: 12.32 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002739/0.1577, allocations: 2.79 MB / 340.7 MB, free: 9.527 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.177e-05/0.1577, allocations: 0 / 340.7 MB, free: 9.527 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1577, allocations: 0 / 340.7 MB, free: 9.527 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.255e-05/0.1577, allocations: 0 / 340.7 MB, free: 9.527 MB / 330.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.001555/0.1593, allocations: 1.584 MB / 342.3 MB, free: 7.91 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.919e-05/0.1593, allocations: 8.031 kB / 342.3 MB, free: 7.902 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.314e-05/0.1594, allocations: 100.8 kB / 342.4 MB, free: 7.805 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000392/0.1598, allocations: 425.3 kB / 342.8 MB, free: 7.363 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.1598, allocations: 38.69 kB / 342.9 MB, free: 7.328 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.154e-05/0.1598, allocations: 48.38 kB / 342.9 MB, free: 7.281 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003296/0.1602, allocations: 0.5416 MB / 343.5 MB, free: 6.613 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.1602, allocations: 3.938 kB / 343.5 MB, free: 6.609 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.926e-05/0.1602, allocations: 20 kB / 343.5 MB, free: 6.59 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.153e-05/0.1602, allocations: 16 kB / 343.5 MB, free: 6.574 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001333/0.1603, allocations: 172.8 kB / 343.7 MB, free: 6.406 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001793/0.1621, allocations: 4.205 MB / 347.9 MB, free: 2.043 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.06e-05/0.1622, allocations: 165.1 kB / 348 MB, free: 1.871 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.743e-05/0.1622, allocations: 80.14 kB / 348.1 MB, free: 1.789 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.638e-05/0.1622, allocations: 79.28 kB / 348.2 MB, free: 1.711 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/0.1622, allocations: 109.8 kB / 348.3 MB, free: 1.594 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.1622, allocations: 4 kB / 348.3 MB, free: 1.59 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 6.547e-05/0.1623, allocations: 65.53 kB / 348.4 MB, free: 1.52 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/0.1623, allocations: 126.7 kB / 348.5 MB, free: 1.383 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004858/0.1628, allocations: 484 kB / 349 MB, free: 0.9023 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.871e-06/0.1628, allocations: 25.7 kB / 349 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.163, allocations: 332.7 kB / 349.3 MB, free: 0.543 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.665e-06/0.163, allocations: 3.984 kB / 349.3 MB, free: 0.5391 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-05/0.163, allocations: 37.64 kB / 349.4 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.073e-05/0.1631, allocations: 362.7 kB / 349.7 MB, free: 136 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.104e-05/0.1631, allocations: 8 kB / 349.7 MB, free: 128 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.938e-05/0.1631, allocations: 86.22 kB / 349.8 MB, free: 4 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.096e-05/0.1632, allocations: 118.1 kB / 349.9 MB, free: 15.85 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.1632, allocations: 2.875 kB / 349.9 MB, free: 15.85 MB / 346.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001175/0.1633, allocations: 129.4 kB / 350 MB, free: 15.72 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.1633, allocations: 7.938 kB / 350.1 MB, free: 15.71 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1633, allocations: 7.938 kB / 350.1 MB, free: 15.7 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.477e-06/0.1634, allocations: 4.375 kB / 350.1 MB, free: 15.7 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.312e-05/0.1634, allocations: 31.98 kB / 350.1 MB, free: 15.67 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.1634, allocations: 7.984 kB / 350.1 MB, free: 15.66 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.849e-05/0.1635, allocations: 11.89 kB / 350.1 MB, free: 15.65 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.1635, allocations: 8 kB / 350.1 MB, free: 15.64 MB / 346.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 8.339e-05/0.1636, allocations: 197 kB / 350.3 MB, free: 15.44 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.807e-05/0.1636, allocations: 140.9 kB / 350.5 MB, free: 15.29 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.35e-05/0.1637, allocations: 148.8 kB / 350.6 MB, free: 15.14 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.35e-05/0.1637, allocations: 180.3 kB / 350.8 MB, free: 14.96 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.118e-05/0.1637, allocations: 180.2 kB / 351 MB, free: 14.77 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.335e-05/0.1638, allocations: 180.2 kB / 351.1 MB, free: 14.59 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002034/0.164, allocations: 465.1 kB / 351.6 MB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.991e-05/0.164, allocations: 105 kB / 351.7 MB, free: 14 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.833e-05/0.164, allocations: 101 kB / 351.8 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.791e-05/0.1641, allocations: 152.7 kB / 351.9 MB, free: 13.74 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.363e-05/0.1641, allocations: 188.3 kB / 352.1 MB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.573e-05/0.1641, allocations: 184.1 kB / 352.3 MB, free: 13.36 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.132e-05/0.1642, allocations: 176.3 kB / 352.5 MB, free: 13.18 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.16e-05/0.1642, allocations: 180.3 kB / 352.6 MB, free: 13 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.896e-05/0.1643, allocations: 335.7 kB / 353 MB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.33e-05/0.1643, allocations: 180.2 kB / 353.2 MB, free: 12.46 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.908e-05/0.1644, allocations: 109.8 kB / 353.3 MB, free: 12.35 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.701e-05/0.1645, allocations: 184.2 kB / 353.4 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.076e-05/0.1645, allocations: 108.9 kB / 353.5 MB, free: 12.05 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001243/0.1646, allocations: 224.6 kB / 353.8 MB, free: 11.83 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1646, allocations: 0 / 353.8 MB, free: 11.83 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009431/0.1655, allocations: 0.7984 MB / 354.6 MB, free: 11.03 MB / 346.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.0015/0.167, allocations: 1.123 MB / 355.7 MB, free: 9.898 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 6.692e-05/0.1671, allocations: 40.72 kB / 355.7 MB, free: 9.855 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/0.1671, allocations: 8 kB / 355.7 MB, free: 9.848 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.974e-06/0.1671, allocations: 0 / 355.7 MB, free: 9.848 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001253/0.1684, allocations: 2.296 MB / 358 MB, free: 7.203 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005593/0.174, allocations: 0.9508 MB / 359 MB, free: 6.219 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.342e-05/0.174, allocations: 113.3 kB / 359.1 MB, free: 6.09 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001367/0.1742, allocations: 94.22 kB / 359.2 MB, free: 6.004 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001854/0.1743, allocations: 165.2 kB / 359.3 MB, free: 5.84 MB / 346.7 MB Notification: Performance of SimCode: time 4.4e-07/0.1743, allocations: 0 / 359.3 MB, free: 5.84 MB / 346.7 MB Notification: Performance of Templates: time 0.02218/0.1965, allocations: 25.4 MB / 384.7 MB, free: 12.59 MB / 378.7 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: 2.9122735243290663]