Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.HeatingOfWater.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.0008114/0.0008114, allocations: 81.17 kB / 19.87 MB, free: 4.617 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.0009621/0.0009621, allocations: 173 kB / 23.28 MB, free: 1.219 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.9512/0.9512, allocations: 177.1 MB / 203.7 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.0998/0.0998, allocations: 17.37 MB / 277.6 MB, free: 11.5 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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(Chemical.Examples.HeatingOfWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.HeatingOfWater") translateModel(Chemical.Examples.HeatingOfWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.HeatingOfWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 353.9 MB, free: 9.719 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.061e-05/2.202e-05, allocations: 2.312 kB / 353.9 MB, free: 9.715 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Boundaries.mo:1343:7-1343:76:writable] Warning: An inner declaration for outer component dropOfCommons could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Boundaries.mo:1343:7-1343:76:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"dropOfCommons\" component but an inner \"dropOfCommons\" component is not defined. Use Chemical.DropOfCommons in your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Examples.HeatingOfWater): time 0.02814/0.02817, allocations: 29.17 MB / 383 MB, free: 12.68 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007605/0.03577, allocations: 7.963 MB / 391 MB, free: 4.68 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004373/0.03621, allocations: 11.94 kB / 391 MB, free: 4.668 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001528/0.03774, allocations: 0.7341 MB / 391.7 MB, free: 3.93 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001018/0.03876, allocations: 0.5739 MB / 392.3 MB, free: 3.352 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001352/0.04011, allocations: 0.7536 MB / 393.1 MB, free: 2.594 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001117/0.04122, allocations: 1.176 MB / 394.3 MB, free: 1.414 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002321/0.04146, allocations: 153.1 kB / 394.4 MB, free: 1.246 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000551/0.04201, allocations: 0.5456 MB / 394.9 MB, free: 0.6992 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000344/0.04235, allocations: 323 kB / 395.3 MB, free: 392 kB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.598e-05/0.04243, allocations: 84 kB / 395.3 MB, free: 308 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001634/0.04406, allocations: 0.963 MB / 396.3 MB, free: 15.34 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001701/0.04423, allocations: 271 kB / 396.6 MB, free: 15.07 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00022/0.04445, allocations: 327 kB / 396.9 MB, free: 14.75 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00179/0.04624, allocations: 1.982 MB / 398.9 MB, free: 12.76 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.04625, allocations: 0 / 398.9 MB, free: 12.76 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.04625, allocations: 0 / 398.9 MB, free: 12.76 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.997e-06/0.04626, allocations: 0 / 398.9 MB, free: 12.76 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: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.001491/0.04775, allocations: 1.573 MB / 400.4 MB, free: 11.15 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.04779, allocations: 8.031 kB / 400.5 MB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005615/0.04835, allocations: 479.8 kB / 400.9 MB, free: 10.67 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005085/0.04886, allocations: 0.5152 MB / 401.4 MB, free: 10.13 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001323/0.04899, allocations: 177.9 kB / 401.6 MB, free: 9.941 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.687e-05/0.04907, allocations: 84.38 kB / 401.7 MB, free: 9.859 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008602/0.04993, allocations: 0.9735 MB / 402.7 MB, free: 8.867 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.04994, allocations: 4.188 kB / 402.7 MB, free: 8.863 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.91e-05/0.04998, allocations: 36.12 kB / 402.7 MB, free: 8.828 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001022/0.05009, allocations: 146 kB / 402.9 MB, free: 8.684 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001073/0.05116, allocations: 1.389 MB / 404.2 MB, free: 7.273 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005041/0.0562, allocations: 4.939 MB / 409.2 MB, free: 2.266 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006166/0.05682, allocations: 307.2 kB / 409.5 MB, free: 1.953 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002708/0.05709, allocations: 159.6 kB / 409.6 MB, free: 1.793 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008486/0.05794, allocations: 0.6413 MB / 410.3 MB, free: 1.148 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.05796, allocations: 45.38 kB / 410.3 MB, free: 1.094 MB / 330.7 MB Notification: Performance of pre-optimization done (n=42): time 2.645e-06/0.05797, allocations: 0 / 410.3 MB, free: 1.094 MB / 330.7 MB Notification: Performance of matching and sorting (n=68): time 0.15/0.208, allocations: 5.435 MB / 415.8 MB, free: 51.65 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02884/0.2368, allocations: 9.826 MB / 425.6 MB, free: 47.55 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004787/0.2373, allocations: 0.6447 MB / 426.2 MB, free: 47.35 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002362/0.2376, allocations: 36.64 kB / 426.3 MB, free: 47.32 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002531/0.2378, allocations: 0.6154 MB / 426.9 MB, free: 47.05 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002082/0.238, allocations: 249.7 kB / 427.1 MB, free: 46.9 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000407/0.2384, allocations: 252.2 kB / 427.4 MB, free: 46.86 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.2386, allocations: 0.5891 MB / 428 MB, free: 46.36 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006468/0.2392, allocations: 407.8 kB / 428.4 MB, free: 46.31 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006883/0.2399, allocations: 0.582 MB / 428.9 MB, free: 46.07 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001298/0.2412, allocations: 0.9985 MB / 429.9 MB, free: 45.7 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.2412, allocations: 1.562 kB / 429.9 MB, free: 45.7 MB / 330.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.005261/0.2464, allocations: 1.841 MB / 431.8 MB, free: 45.14 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.2465, allocations: 7.812 kB / 431.8 MB, free: 45.14 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.2465, allocations: 3.938 kB / 431.8 MB, free: 45.14 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00631/0.2528, allocations: 2.798 MB / 434.6 MB, free: 42.99 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009616/0.2537, allocations: 301.2 kB / 434.9 MB, free: 42.71 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006611/0.2604, allocations: 6.512 MB / 441.4 MB, free: 36.11 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007817/0.2611, allocations: 27.98 kB / 441.4 MB, free: 36.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001706/0.2613, allocations: 175.9 kB / 441.6 MB, free: 35.91 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (70): * Single equations (assignments): 65 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(3,5), (3,8), (2,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004209/0.2617, allocations: 194 kB / 441.8 MB, free: 35.72 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002724/0.262, allocations: 95.53 kB / 441.9 MB, free: 35.63 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004701/0.2667, allocations: 1.964 MB / 443.8 MB, free: 33.71 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003598/0.2703, allocations: 1.258 MB / 445.1 MB, free: 32.46 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.2703, allocations: 4 kB / 445.1 MB, free: 32.46 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.874e-06/0.2703, allocations: 3.984 kB / 445.1 MB, free: 32.46 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005847/0.2762, allocations: 3.905 MB / 449 MB, free: 28.55 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.927e-06/0.2762, allocations: 10.67 kB / 449 MB, free: 28.54 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006703/0.2768, allocations: 160.9 kB / 449.2 MB, free: 28.39 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01185/0.2887, allocations: 2.578 MB / 451.8 MB, free: 25.88 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001737/0.2889, allocations: 43.95 kB / 451.8 MB, free: 25.84 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004519/0.2934, allocations: 3.658 MB / 455.5 MB, free: 22.09 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02138/0.3148, allocations: 8.698 MB / 464.2 MB, free: 13.3 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004463/0.3192, allocations: 1.877 MB / 466 MB, free: 11.38 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001488/0.3194, allocations: 89.25 kB / 466.1 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001078/0.3195, allocations: 15.98 kB / 466.1 MB, free: 11.28 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005025/0.32, allocations: 20 kB / 466.2 MB, free: 11.26 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001969/0.3202, allocations: 87.84 kB / 466.2 MB, free: 11.18 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.899e-05/0.3203, allocations: 79.94 kB / 466.3 MB, free: 11.1 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002509/0.3205, allocations: 461.5 kB / 466.8 MB, free: 10.68 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3205, allocations: 0 / 466.8 MB, free: 10.68 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001212/0.3217, allocations: 0.5413 MB / 467.3 MB, free: 10.14 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 2 ($STATESET1.x[2],$STATESET1.x[1]) * Number of discrete variables: 1 ($cse15) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,5,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004825/0.3222, allocations: 387.4 kB / 467.7 MB, free: 9.836 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001644/0.3239, allocations: 1.001 MB / 468.7 MB, free: 8.871 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3239, allocations: 0 / 468.7 MB, free: 8.871 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001122/0.325, allocations: 0.7423 MB / 469.4 MB, free: 8.133 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007376/0.3257, allocations: 249.5 kB / 469.7 MB, free: 7.926 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002919/0.3286, allocations: 2.473 MB / 472.1 MB, free: 5.395 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001597/0.3288, allocations: 247.6 kB / 472.4 MB, free: 5.125 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006758/0.3295, allocations: 206 kB / 472.6 MB, free: 4.961 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007122/0.3302, allocations: 292.6 kB / 472.9 MB, free: 4.676 MB / 330.7 MB Notification: Performance of SimCode: time 1.913e-06/0.3302, allocations: 1.969 kB / 472.9 MB, free: 4.676 MB / 330.7 MB Notification: Performance of Templates: time 0.05178/0.382, allocations: 51.43 MB / 0.512 GB, free: 2.137 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Examples.HeatingOfWater.makefile [Timeout 660] (rm -f Chemical_Chemical.Examples.HeatingOfWater.pipe ; mkfifo Chemical_Chemical.Examples.HeatingOfWater.pipe ; head -c 1048576 < Chemical_Chemical.Examples.HeatingOfWater.pipe >> ../files/Chemical_Chemical.Examples.HeatingOfWater.sim & ./Chemical_Chemical.Examples.HeatingOfWater -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_Chemical.Examples.HeatingOfWater.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.067559422925115]