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.0007662/0.0007662, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001048/0.001814, allocations: 440 kB / 10.41 MB, free: 284 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.0006897/0.0006897, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001028/0.001718, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9521/0.9521, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09166/1.044, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.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.1068/0.1068, allocations: 17.36 MB / 261.5 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01117/0.118, allocations: 6.93 MB / 268.4 MB, free: 6.414 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 7.91e-07/7.91e-07, allocations: 0 / 269.7 MB, free: 5.129 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.418e-06/1.021e-05, allocations: 6.25 kB / 269.7 MB, free: 5.121 MB / 266.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.1342/0.1342, allocations: 5.57 MB / 275.3 MB, free: 1.609 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007252/0.1415, allocations: 8.193 MB / 283.5 MB, free: 14.57 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003841/0.1419, allocations: 17.38 kB / 283.5 MB, free: 14.56 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00156/0.1434, allocations: 0.7493 MB / 284.3 MB, free: 14.27 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001001/0.1444, allocations: 0.563 MB / 284.8 MB, free: 13.9 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001474/0.1459, allocations: 0.7603 MB / 285.6 MB, free: 13.47 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00124/0.1471, allocations: 1.158 MB / 286.7 MB, free: 12.89 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002476/0.1474, allocations: 163.8 kB / 286.9 MB, free: 12.8 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007621/0.1482, allocations: 0.6205 MB / 287.5 MB, free: 12.51 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004247/0.1486, allocations: 325.5 kB / 287.8 MB, free: 12.4 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.784e-05/0.1487, allocations: 81.75 kB / 287.9 MB, free: 12.4 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00162/0.1503, allocations: 0.9953 MB / 288.9 MB, free: 12.19 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001582/0.1505, allocations: 228.2 kB / 289.1 MB, free: 12.12 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002381/0.1507, allocations: 283.6 kB / 289.4 MB, free: 12.07 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001987/0.1527, allocations: 1.797 MB / 291.2 MB, free: 11.45 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.074e-05/0.1527, allocations: 3.766 kB / 291.2 MB, free: 11.45 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1527, allocations: 0 / 291.2 MB, free: 11.45 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.059e-05/0.1527, allocations: 0 / 291.2 MB, free: 11.45 MB / 282.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.001548/0.1543, allocations: 1.596 MB / 292.8 MB, free: 10.45 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.1543, allocations: 9.094 kB / 292.8 MB, free: 10.45 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005453/0.1548, allocations: 0.5031 MB / 293.3 MB, free: 10.16 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000442/0.1553, allocations: 425.6 kB / 293.7 MB, free: 9.836 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001167/0.1554, allocations: 179.6 kB / 293.9 MB, free: 9.715 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.399e-05/0.1555, allocations: 84.72 kB / 294 MB, free: 9.688 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000935/0.1564, allocations: 1.024 MB / 295 MB, free: 9.148 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.1564, allocations: 192 / 295 MB, free: 9.148 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.873e-05/0.1565, allocations: 41.06 kB / 295.1 MB, free: 9.109 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.82e-05/0.1566, allocations: 138 kB / 295.2 MB, free: 8.973 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001012/0.1576, allocations: 1.34 MB / 296.5 MB, free: 7.613 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004499/0.1621, allocations: 4.133 MB / 300.7 MB, free: 3.434 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005448/0.1626, allocations: 305.3 kB / 301 MB, free: 3.125 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002443/0.1629, allocations: 121.7 kB / 301.1 MB, free: 3.004 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007544/0.1636, allocations: 0.6181 MB / 301.7 MB, free: 2.383 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.718e-05/0.1636, allocations: 34.56 kB / 301.7 MB, free: 2.34 MB / 282.7 MB Notification: Performance of pre-optimization done (n=42): time 1.362e-06/0.1636, allocations: 4 kB / 301.7 MB, free: 2.336 MB / 282.7 MB Notification: Performance of matching and sorting (n=60): time 0.0182/0.1818, allocations: 4.368 MB / 306.1 MB, free: 13.92 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.03191/0.2138, allocations: 8.281 MB / 314.4 MB, free: 5.41 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004374/0.2142, allocations: 495.9 kB / 314.9 MB, free: 4.914 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001282/0.2143, allocations: 37.7 kB / 314.9 MB, free: 4.871 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002306/0.2146, allocations: 465.2 kB / 315.4 MB, free: 4.406 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002269/0.2148, allocations: 218.1 kB / 315.6 MB, free: 4.191 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004411/0.2152, allocations: 182.1 kB / 315.8 MB, free: 4.008 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.2153, allocations: 382.6 kB / 316.1 MB, free: 3.625 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006323/0.216, allocations: 248.4 kB / 316.4 MB, free: 3.383 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006842/0.2167, allocations: 379 kB / 316.7 MB, free: 2.965 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001264/0.2179, allocations: 0.679 MB / 317.4 MB, free: 2.23 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.2179, allocations: 4 kB / 317.4 MB, free: 2.227 MB / 298.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.005562/0.2235, allocations: 1.252 MB / 318.7 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.2235, allocations: 9.562 kB / 318.7 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.712e-05/0.2235, allocations: 12.03 kB / 318.7 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008477/0.232, allocations: 2.894 MB / 321.6 MB, free: 14.02 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001298/0.2333, allocations: 329.9 kB / 321.9 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007456/0.2408, allocations: 3.914 MB / 325.8 MB, free: 9.637 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000577/0.2413, allocations: 27.97 kB / 325.9 MB, free: 9.609 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002086/0.2415, allocations: 159.9 kB / 326 MB, free: 9.453 MB / 314.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 (62): * Single equations (assignments): 57 * 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): 1 system {(3,5,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,8), (2,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002931/0.2418, allocations: 140.5 kB / 326.2 MB, free: 9.305 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002005/0.242, allocations: 63.94 kB / 326.2 MB, free: 9.242 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004988/0.247, allocations: 1.388 MB / 327.6 MB, free: 7.828 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003442/0.2505, allocations: 0.8089 MB / 328.4 MB, free: 7.004 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.2505, allocations: 4 kB / 328.4 MB, free: 7 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.2505, allocations: 0 / 328.4 MB, free: 7 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004933/0.2554, allocations: 2.469 MB / 330.9 MB, free: 4.449 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.2554, allocations: 4 kB / 330.9 MB, free: 4.445 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005695/0.256, allocations: 204.5 kB / 331.1 MB, free: 4.246 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.547e-05/0.2561, allocations: 63.53 kB / 331.2 MB, free: 4.184 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01168/0.2677, allocations: 2.849 MB / 334 MB, free: 1.32 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.301e-05/0.2678, allocations: 31.97 kB / 334 MB, free: 1.289 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00449/0.2723, allocations: 2.69 MB / 336.7 MB, free: 14.48 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02108/0.2934, allocations: 7.356 MB / 344.1 MB, free: 6.902 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003612/0.297, allocations: 1.331 MB / 345.4 MB, free: 5.516 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001219/0.2971, allocations: 12 kB / 345.4 MB, free: 5.504 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003238/0.2974, allocations: 24.03 kB / 345.4 MB, free: 5.48 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001815/0.2976, allocations: 76.23 kB / 345.5 MB, free: 5.402 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.265e-05/0.2977, allocations: 67.95 kB / 345.6 MB, free: 5.336 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004741/0.2982, allocations: 323.9 kB / 345.9 MB, free: 5.023 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2982, allocations: 0 / 345.9 MB, free: 5.023 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001142/0.2993, allocations: 0.5232 MB / 346.4 MB, free: 4.5 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (34): * Single equations (assignments): 32 * 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.000474/0.2998, allocations: 363.7 kB / 346.8 MB, free: 4.137 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001422/0.3012, allocations: 0.8179 MB / 347.6 MB, free: 3.305 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.75e-05/0.3012, allocations: 12 kB / 347.6 MB, free: 3.293 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009647/0.3022, allocations: 0.5978 MB / 348.2 MB, free: 2.68 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001168/0.3033, allocations: 1.461 MB / 349.7 MB, free: 0.9805 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00645/0.3098, allocations: 2.318 MB / 352 MB, free: 14.56 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001889/0.31, allocations: 251.5 kB / 352.2 MB, free: 14.29 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004422/0.3104, allocations: 169.4 kB / 352.4 MB, free: 14.12 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005471/0.311, allocations: 225.2 kB / 352.6 MB, free: 13.91 MB / 346.7 MB Notification: Performance of SimCode: time 8.71e-07/0.311, allocations: 0 / 352.6 MB, free: 13.91 MB / 346.7 MB Notification: Performance of Templates: time 0.05091/0.3619, allocations: 53.07 MB / 405.7 MB, free: 8.875 MB / 394.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: 3.861888539046049]