Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001488/0.001488, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001433/0.001433, allocations: 169 kB / 23.02 MB, free: 1.551 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.991/0.991, allocations: 177.1 MB / 203.4 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.0833/0.0833, allocations: 17.47 MB / 277.4 MB, free: 11.56 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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_master_Chemical.Examples.HeatingOfWater") translateModel(Chemical.Examples.HeatingOfWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Examples.HeatingOfWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 353.5 MB, free: 9.875 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.371e-05/2.554e-05, allocations: 12.7 kB / 353.5 MB, free: 9.863 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Boundaries.mo:1361:7-1361: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 master/Boundaries.mo:1361:7-1361: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.03199/0.03201, allocations: 29.44 MB / 383 MB, free: 12.56 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01153/0.04354, allocations: 9.043 MB / 392 MB, free: 3.477 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009825/0.04452, allocations: 31.75 kB / 392 MB, free: 3.445 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002252/0.04677, allocations: 0.7846 MB / 392.8 MB, free: 2.656 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001649/0.04842, allocations: 0.7292 MB / 393.6 MB, free: 1.922 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002186/0.05061, allocations: 0.94 MB / 394.5 MB, free: 0.9766 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001666/0.05227, allocations: 1.269 MB / 395.8 MB, free: 15.7 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002958/0.05257, allocations: 153.9 kB / 395.9 MB, free: 15.54 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006774/0.05325, allocations: 0.6079 MB / 396.5 MB, free: 14.93 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006665/0.05391, allocations: 478.8 kB / 397 MB, free: 14.46 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001062/0.05402, allocations: 80 kB / 397.1 MB, free: 14.38 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002503/0.05652, allocations: 1.185 MB / 398.3 MB, free: 13.19 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002387/0.05676, allocations: 286.9 kB / 398.5 MB, free: 12.91 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003408/0.0571, allocations: 351 kB / 398.9 MB, free: 12.57 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002722/0.05982, allocations: 2.006 MB / 400.9 MB, free: 10.55 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.05983, allocations: 3.938 kB / 400.9 MB, free: 10.55 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.05983, allocations: 4 kB / 400.9 MB, free: 10.55 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.871e-05/0.05985, allocations: 0 / 400.9 MB, free: 10.55 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.002092/0.06194, allocations: 1.573 MB / 402.5 MB, free: 8.934 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.06198, allocations: 8.031 kB / 402.5 MB, free: 8.926 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005715/0.06255, allocations: 471.8 kB / 402.9 MB, free: 8.465 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007035/0.06326, allocations: 0.7063 MB / 403.6 MB, free: 7.73 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001177/0.06338, allocations: 126 kB / 403.8 MB, free: 7.594 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.844e-05/0.06346, allocations: 84.38 kB / 403.8 MB, free: 7.512 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001157/0.06462, allocations: 1.139 MB / 405 MB, free: 6.355 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.84e-05/0.06465, allocations: 4.141 kB / 405 MB, free: 6.352 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.617e-05/0.0647, allocations: 40.06 kB / 405 MB, free: 6.312 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001009/0.0648, allocations: 138 kB / 405.2 MB, free: 6.176 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001838/0.06664, allocations: 1.731 MB / 406.9 MB, free: 4.434 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004233/0.07087, allocations: 3.829 MB / 410.7 MB, free: 0.5352 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005511/0.07142, allocations: 311.1 kB / 411 MB, free: 224 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002071/0.07163, allocations: 175.5 kB / 411.2 MB, free: 44 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1359/0.2076, allocations: 2.135 MB / 413.3 MB, free: 49.99 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/0.2076, allocations: 40.39 kB / 413.4 MB, free: 49.95 MB / 330.7 MB Notification: Performance of pre-optimization done (n=33): time 2.996e-06/0.2076, allocations: 1.156 kB / 413.4 MB, free: 49.95 MB / 330.7 MB Notification: Performance of matching and sorting (n=46): time 0.009339/0.217, allocations: 3.406 MB / 416.8 MB, free: 49.29 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.53e-05/0.217, allocations: 56.75 kB / 416.8 MB, free: 49.22 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001024/0.218, allocations: 0.7852 MB / 417.6 MB, free: 49.02 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.236e-05/0.2181, allocations: 38.48 kB / 417.7 MB, free: 48.98 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004175/0.2185, allocations: 0.7211 MB / 418.4 MB, free: 48.66 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001359/0.2186, allocations: 168.6 kB / 418.5 MB, free: 48.57 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002541/0.2189, allocations: 225.1 kB / 418.8 MB, free: 48.54 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001725/0.219, allocations: 0.5931 MB / 419.3 MB, free: 48.04 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003207/0.2194, allocations: 191.2 kB / 419.5 MB, free: 48.04 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004579/0.2198, allocations: 0.7151 MB / 420.3 MB, free: 47.36 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001012/0.2208, allocations: 0.997 MB / 421.2 MB, free: 46.67 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.606e-06/0.2208, allocations: 3.125 kB / 421.3 MB, free: 46.67 MB / 330.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.002823/0.2237, allocations: 1.313 MB / 422.6 MB, free: 46.55 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/0.2237, allocations: 12.47 kB / 422.6 MB, free: 46.55 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/0.2237, allocations: 16.97 kB / 422.6 MB, free: 46.55 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003076/0.2268, allocations: 0.8247 MB / 423.4 MB, free: 46.51 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006621/0.2274, allocations: 312.2 kB / 423.7 MB, free: 46.51 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00362/0.2311, allocations: 5.116 MB / 428.8 MB, free: 42.22 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004899/0.2315, allocations: 36.41 kB / 428.9 MB, free: 42.22 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001018/0.2316, allocations: 106.1 kB / 429 MB, free: 42.22 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 2 (liquidWater.substanceDefinitionVar.SelfClustering,liquidWater.substanceDefinitionVar.data.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 91 * Array equations: 0 * 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,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003578/0.232, allocations: 217.6 kB / 429.2 MB, free: 42.06 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001674/0.2322, allocations: 114.8 kB / 429.3 MB, free: 42.01 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002231/0.2344, allocations: 1.158 MB / 430.5 MB, free: 41.79 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.2344, allocations: 5.062 kB / 430.5 MB, free: 41.79 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.2344, allocations: 3.25 kB / 430.5 MB, free: 41.79 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.2344, allocations: 12.73 kB / 430.5 MB, free: 41.79 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009127/0.2353, allocations: 0.9084 MB / 431.4 MB, free: 41.24 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.275e-06/0.2353, allocations: 3.25 kB / 431.4 MB, free: 41.24 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005358/0.2359, allocations: 202.4 kB / 431.6 MB, free: 41.23 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002865/0.2387, allocations: 0.7327 MB / 432.3 MB, free: 41.14 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.064e-05/0.2388, allocations: 27.25 kB / 432.3 MB, free: 41.13 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003121/0.2419, allocations: 4.812 MB / 437.2 MB, free: 36.66 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.2419, allocations: 6.812 kB / 437.2 MB, free: 36.66 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00231/0.2442, allocations: 1.276 MB / 438.4 MB, free: 36.15 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001451/0.2444, allocations: 70.28 kB / 438.5 MB, free: 36.11 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.379e-05/0.2444, allocations: 16.28 kB / 438.5 MB, free: 36.1 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001946/0.2446, allocations: 15.75 kB / 438.5 MB, free: 36.09 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001178/0.2448, allocations: 65.31 kB / 438.6 MB, free: 36.07 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.044e-05/0.2448, allocations: 50.94 kB / 438.7 MB, free: 36.07 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003659/0.2452, allocations: 443.9 kB / 439.1 MB, free: 35.87 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2452, allocations: 0 / 439.1 MB, free: 35.87 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00104/0.2462, allocations: 305.2 kB / 439.4 MB, free: 35.83 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (solution.temperature,liquidWater.logm) * 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 (47): * Single equations (assignments): 44 * Array equations: 0 * 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,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004903/0.2467, allocations: 328.8 kB / 439.7 MB, free: 35.73 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001292/0.248, allocations: 1.065 MB / 440.8 MB, free: 34.84 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.248, allocations: 0 / 440.8 MB, free: 34.84 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006041/0.2486, allocations: 0.6848 MB / 441.5 MB, free: 34.14 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000608/0.2492, allocations: 220.4 kB / 441.7 MB, free: 33.95 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002726/0.2519, allocations: 2.004 MB / 443.7 MB, free: 31.97 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001446/0.2521, allocations: 241.7 kB / 443.9 MB, free: 31.72 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005671/0.2527, allocations: 302 kB / 444.2 MB, free: 31.53 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001974/0.2528, allocations: 123.1 kB / 444.3 MB, free: 31.43 MB / 330.7 MB Notification: Performance of SimCode: time 1.001e-06/0.2528, allocations: 4 kB / 444.3 MB, free: 31.42 MB / 330.7 MB Notification: Performance of Templates: time 0.01999/0.2728, allocations: 19.83 MB / 464.2 MB, free: 12.69 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Examples.HeatingOfWater.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Examples.HeatingOfWater.pipe ; mkfifo Chemical_master_Chemical.Examples.HeatingOfWater.pipe ; head -c 1048576 < Chemical_master_Chemical.Examples.HeatingOfWater.pipe >> ../files/Chemical_master_Chemical.Examples.HeatingOfWater.sim & ./Chemical_master_Chemical.Examples.HeatingOfWater -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_master_Chemical.Examples.HeatingOfWater.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7843116130679846]