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.001041/0.001041, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.0009845/0.0009845, allocations: 169 kB / 23.27 MB, free: 1.223 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 1.018/1.018, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1502/0.1502, allocations: 17.47 MB / 277.7 MB, free: 11.41 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 2.164e-06/2.164e-06, allocations: 0 / 354 MB, free: 9.586 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.346e-05/2.563e-05, allocations: 6.25 kB / 354 MB, free: 9.578 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.03142/0.03145, allocations: 29.4 MB / 383.4 MB, free: 12.31 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009139/0.04058, allocations: 8.914 MB / 392.3 MB, free: 3.359 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006796/0.04126, allocations: 35.69 kB / 392.3 MB, free: 3.324 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001773/0.04304, allocations: 0.7885 MB / 393.1 MB, free: 2.531 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001388/0.04442, allocations: 0.7252 MB / 393.8 MB, free: 1.801 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001851/0.04628, allocations: 0.9478 MB / 394.8 MB, free: 0.8477 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001405/0.04768, allocations: 1.258 MB / 396.1 MB, free: 15.59 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002698/0.04795, allocations: 161.9 kB / 396.2 MB, free: 15.41 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006751/0.04863, allocations: 0.6079 MB / 396.8 MB, free: 14.8 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005871/0.04921, allocations: 478.8 kB / 397.3 MB, free: 14.33 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001028/0.04932, allocations: 80 kB / 397.4 MB, free: 14.25 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002209/0.05152, allocations: 1.181 MB / 398.5 MB, free: 13.07 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001783/0.0517, allocations: 290.9 kB / 398.8 MB, free: 12.79 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002748/0.05198, allocations: 347 kB / 399.2 MB, free: 12.45 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002301/0.05428, allocations: 2.013 MB / 401.2 MB, free: 10.43 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.05428, allocations: 0 / 401.2 MB, free: 10.43 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.163e-06/0.05428, allocations: 4 kB / 401.2 MB, free: 10.42 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.715e-05/0.0543, allocations: 0 / 401.2 MB, free: 10.42 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.001717/0.05602, allocations: 1.588 MB / 402.8 MB, free: 8.793 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.05606, allocations: 12.03 kB / 402.8 MB, free: 8.781 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004925/0.05655, allocations: 471.8 kB / 403.2 MB, free: 8.32 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006281/0.05718, allocations: 0.7063 MB / 404 MB, free: 7.586 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.279e-05/0.05727, allocations: 126 kB / 404.1 MB, free: 7.449 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.31e-05/0.05735, allocations: 88.36 kB / 404.2 MB, free: 7.363 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008087/0.05816, allocations: 0.9319 MB / 405.1 MB, free: 6.414 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.985e-05/0.05818, allocations: 4.141 kB / 405.1 MB, free: 6.41 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002988/0.05848, allocations: 36.12 kB / 405.1 MB, free: 6.375 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.419e-05/0.05857, allocations: 130.1 kB / 405.3 MB, free: 6.246 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001061/0.05963, allocations: 1.374 MB / 406.6 MB, free: 4.852 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00391/0.06354, allocations: 3.875 MB / 410.5 MB, free: 0.9062 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003904/0.06393, allocations: 279.1 kB / 410.8 MB, free: 0.6211 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001606/0.0641, allocations: 147.5 kB / 410.9 MB, free: 484 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.137/0.2011, allocations: 2.137 MB / 413.1 MB, free: 49.98 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/0.2011, allocations: 41.12 kB / 413.1 MB, free: 49.94 MB / 330.7 MB Notification: Performance of pre-optimization done (n=33): time 1.904e-06/0.2011, allocations: 0 / 413.1 MB, free: 49.94 MB / 330.7 MB Notification: Performance of matching and sorting (n=46): time 0.008393/0.2095, allocations: 3.184 MB / 416.3 MB, free: 49.38 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.409e-05/0.2095, allocations: 56.34 kB / 416.3 MB, free: 49.31 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007944/0.2103, allocations: 0.7768 MB / 417.1 MB, free: 49.11 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.253e-05/0.2104, allocations: 33.8 kB / 417.2 MB, free: 49.08 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003843/0.2108, allocations: 0.7296 MB / 417.9 MB, free: 48.75 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001187/0.2109, allocations: 176.3 kB / 418.1 MB, free: 48.66 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002706/0.2111, allocations: 229.5 kB / 418.3 MB, free: 48.63 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.2113, allocations: 0.5998 MB / 418.9 MB, free: 48.14 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002814/0.2116, allocations: 155.1 kB / 419 MB, free: 48.14 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004171/0.212, allocations: 0.6799 MB / 419.7 MB, free: 47.47 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007897/0.2128, allocations: 0.9223 MB / 420.6 MB, free: 46.79 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.573e-06/0.2128, allocations: 3.375 kB / 420.6 MB, free: 46.79 MB / 330.7 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002499/0.2153, allocations: 1.23 MB / 421.9 MB, free: 46.67 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.851e-05/0.2153, allocations: 15.69 kB / 421.9 MB, free: 46.67 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/0.2154, allocations: 15.56 kB / 421.9 MB, free: 46.67 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003063/0.2184, allocations: 0.8206 MB / 422.7 MB, free: 46.63 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006571/0.2191, allocations: 308.9 kB / 423 MB, free: 46.63 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003477/0.2226, allocations: 5.046 MB / 428.1 MB, free: 42.39 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005496/0.2231, allocations: 36.73 kB / 428.1 MB, free: 42.39 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001014/0.2232, allocations: 101 kB / 428.2 MB, free: 42.39 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * 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 (93): * Single equations (assignments): 90 * 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.000413/0.2236, allocations: 218.2 kB / 428.4 MB, free: 42.23 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001781/0.2238, allocations: 102.7 kB / 428.5 MB, free: 42.19 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002221/0.226, allocations: 1.112 MB / 429.6 MB, free: 42.07 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.226, allocations: 3.594 kB / 429.6 MB, free: 42.07 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.226, allocations: 2.688 kB / 429.6 MB, free: 42.07 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.226, allocations: 5.578 kB / 429.6 MB, free: 42.07 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008957/0.2269, allocations: 0.9469 MB / 430.6 MB, free: 41.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.683e-06/0.2269, allocations: 3.781 kB / 430.6 MB, free: 41.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005246/0.2275, allocations: 204.7 kB / 430.8 MB, free: 41.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002792/0.2303, allocations: 0.7274 MB / 431.5 MB, free: 41.73 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.369e-05/0.2303, allocations: 28.19 kB / 431.5 MB, free: 41.73 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002654/0.233, allocations: 4.753 MB / 436.3 MB, free: 37.52 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.233, allocations: 3.297 kB / 436.3 MB, free: 37.52 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002135/0.2351, allocations: 1.182 MB / 437.5 MB, free: 37.11 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001272/0.2352, allocations: 67.61 kB / 437.5 MB, free: 37.06 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.174e-05/0.2353, allocations: 15.53 kB / 437.6 MB, free: 37.05 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002039/0.2355, allocations: 19.11 kB / 437.6 MB, free: 37.04 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.2356, allocations: 63.34 kB / 437.6 MB, free: 37.03 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.746e-05/0.2356, allocations: 47.41 kB / 437.7 MB, free: 37.03 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003255/0.236, allocations: 420.1 kB / 438.1 MB, free: 36.86 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.236, allocations: 0 / 438.1 MB, free: 36.86 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009882/0.237, allocations: 308.5 kB / 438.4 MB, free: 36.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.0004364/0.2374, allocations: 353 kB / 438.7 MB, free: 36.71 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001095/0.2385, allocations: 1.006 MB / 439.8 MB, free: 36.27 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.2385, allocations: 0 / 439.8 MB, free: 36.27 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005061/0.239, allocations: 0.655 MB / 440.4 MB, free: 35.79 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005452/0.2395, allocations: 211.8 kB / 440.6 MB, free: 35.61 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002404/0.2419, allocations: 1.984 MB / 442.6 MB, free: 33.67 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001505/0.2421, allocations: 235.6 kB / 442.8 MB, free: 33.42 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005412/0.2426, allocations: 282.4 kB / 443.1 MB, free: 33.25 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003894/0.243, allocations: 298.7 kB / 443.4 MB, free: 32.97 MB / 330.7 MB Notification: Performance of SimCode: time 1.293e-06/0.243, allocations: 0 / 443.4 MB, free: 32.97 MB / 330.7 MB Notification: Performance of Templates: time 0.02345/0.2665, allocations: 22.62 MB / 466 MB, free: 11.45 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.7572064879350364]