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.001222/0.001222, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001652/0.001652, allocations: 177 kB / 23.49 MB, free: 1.059 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.094/1.094, allocations: 177.1 MB / 203.8 MB, free: 5.637 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.08953/0.08953, allocations: 17.46 MB / 277.7 MB, free: 11.64 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.334e-06/2.334e-06, allocations: 0 / 353.5 MB, free: 10.21 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.322e-05/2.556e-05, allocations: 2.312 kB / 353.5 MB, free: 10.21 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.0265/0.02652, allocations: 29.36 MB / 382.9 MB, free: 12.98 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01027/0.0368, allocations: 8.996 MB / 391.9 MB, free: 3.949 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007223/0.03752, allocations: 31.75 kB / 391.9 MB, free: 3.918 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001796/0.03932, allocations: 0.7807 MB / 392.7 MB, free: 3.133 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001192/0.04051, allocations: 0.7253 MB / 393.4 MB, free: 2.402 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00154/0.04205, allocations: 0.94 MB / 394.4 MB, free: 1.457 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001042/0.04309, allocations: 1.26 MB / 395.6 MB, free: 200 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002127/0.0433, allocations: 161.8 kB / 395.8 MB, free: 20 kB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004683/0.04377, allocations: 0.6079 MB / 396.4 MB, free: 15.41 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004798/0.04425, allocations: 470.8 kB / 396.9 MB, free: 14.95 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 7.178e-05/0.04432, allocations: 80 kB / 396.9 MB, free: 14.87 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001544/0.04587, allocations: 1.193 MB / 398.1 MB, free: 13.68 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001685/0.04603, allocations: 286.9 kB / 398.4 MB, free: 13.39 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002367/0.04627, allocations: 351 kB / 398.8 MB, free: 13.05 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002037/0.04831, allocations: 2.002 MB / 400.8 MB, free: 11.04 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.04831, allocations: 3.938 kB / 400.8 MB, free: 11.04 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.04831, allocations: 0 / 400.8 MB, free: 11.04 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.828e-06/0.04832, allocations: 0 / 400.8 MB, free: 11.04 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.001479/0.0498, allocations: 1.577 MB / 402.3 MB, free: 9.422 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.04984, allocations: 8.031 kB / 402.4 MB, free: 9.414 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005174/0.05035, allocations: 475.8 kB / 402.8 MB, free: 8.949 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00066/0.05101, allocations: 0.7024 MB / 403.5 MB, free: 8.219 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.884e-05/0.0511, allocations: 126 kB / 403.6 MB, free: 8.082 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.249e-05/0.05118, allocations: 88.38 kB / 403.7 MB, free: 7.996 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001095/0.05228, allocations: 1.135 MB / 404.9 MB, free: 6.844 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.195e-05/0.0523, allocations: 8.141 kB / 404.9 MB, free: 6.836 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.898e-05/0.05235, allocations: 40.06 kB / 404.9 MB, free: 6.797 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00011/0.05246, allocations: 134.1 kB / 405 MB, free: 6.664 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001814/0.05427, allocations: 1.731 MB / 406.8 MB, free: 4.922 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003874/0.05815, allocations: 3.832 MB / 410.6 MB, free: 1.02 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004717/0.05862, allocations: 315.1 kB / 410.9 MB, free: 0.6992 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002022/0.05882, allocations: 167.6 kB / 411.1 MB, free: 0.5312 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1292/0.188, allocations: 2.135 MB / 413.2 MB, free: 62.66 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.188, allocations: 41.5 kB / 413.3 MB, free: 62.61 MB / 330.7 MB Notification: Performance of pre-optimization done (n=33): time 2.104e-06/0.1881, allocations: 0 / 413.3 MB, free: 62.61 MB / 330.7 MB Notification: Performance of matching and sorting (n=46): time 0.008272/0.1963, allocations: 3.403 MB / 416.7 MB, free: 61.77 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.631e-05/0.1963, allocations: 58.05 kB / 416.7 MB, free: 61.71 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007783/0.1971, allocations: 0.7861 MB / 417.5 MB, free: 61.32 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.131e-05/0.1972, allocations: 31.67 kB / 417.5 MB, free: 61.29 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003294/0.1975, allocations: 0.7219 MB / 418.3 MB, free: 60.79 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/0.1976, allocations: 168.2 kB / 418.4 MB, free: 60.68 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002324/0.1978, allocations: 226.5 kB / 418.6 MB, free: 60.58 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.198, allocations: 0.5973 MB / 419.2 MB, free: 60.03 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003021/0.1983, allocations: 187.4 kB / 419.4 MB, free: 60.01 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004534/0.1987, allocations: 0.7182 MB / 420.1 MB, free: 59.27 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008319/0.1996, allocations: 0.9931 MB / 421.1 MB, free: 58.42 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.1996, allocations: 7.594 kB / 421.1 MB, free: 58.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.002665/0.2022, allocations: 1.312 MB / 422.4 MB, free: 58.06 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/0.2023, allocations: 11.5 kB / 422.5 MB, free: 58.06 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.72e-05/0.2023, allocations: 11.66 kB / 422.5 MB, free: 58.06 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003118/0.2054, allocations: 0.829 MB / 423.3 MB, free: 57.96 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006709/0.2061, allocations: 316.5 kB / 423.6 MB, free: 57.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00346/0.2095, allocations: 5.105 MB / 428.7 MB, free: 53.39 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003458/0.2099, allocations: 41.69 kB / 428.8 MB, free: 53.38 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/0.21, allocations: 112.7 kB / 428.9 MB, free: 53.37 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.000273/0.2103, allocations: 219.2 kB / 429.1 MB, free: 53.17 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001449/0.2104, allocations: 109.9 kB / 429.2 MB, free: 53.11 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002265/0.2127, allocations: 1.158 MB / 430.3 MB, free: 52.74 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.2127, allocations: 3.188 kB / 430.3 MB, free: 52.74 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.2127, allocations: 9.328 kB / 430.4 MB, free: 52.73 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.2127, allocations: 3.938 kB / 430.4 MB, free: 52.73 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007893/0.2135, allocations: 0.9206 MB / 431.3 MB, free: 52.05 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.2135, allocations: 6.641 kB / 431.3 MB, free: 52.05 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005134/0.214, allocations: 210.8 kB / 431.5 MB, free: 52 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002714/0.2167, allocations: 0.7234 MB / 432.2 MB, free: 51.4 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.316e-05/0.2167, allocations: 30.58 kB / 432.2 MB, free: 51.37 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002728/0.2195, allocations: 4.807 MB / 437.1 MB, free: 46.31 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.2195, allocations: 7.938 kB / 437.1 MB, free: 46.3 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002139/0.2216, allocations: 1.273 MB / 438.3 MB, free: 44.98 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.877e-05/0.2217, allocations: 67.47 kB / 438.4 MB, free: 44.91 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.361e-05/0.2217, allocations: 12 kB / 438.4 MB, free: 44.9 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001892/0.2219, allocations: 18.66 kB / 438.4 MB, free: 44.88 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/0.222, allocations: 68.33 kB / 438.5 MB, free: 44.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.132e-05/0.2221, allocations: 47.98 kB / 438.5 MB, free: 44.77 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000284/0.2224, allocations: 443 kB / 439 MB, free: 44.34 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2224, allocations: 4 kB / 439 MB, free: 44.34 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008155/0.2232, allocations: 299.7 kB / 439.3 MB, free: 44.05 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.0004378/0.2236, allocations: 338.1 kB / 439.6 MB, free: 43.77 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001166/0.2248, allocations: 1.061 MB / 440.7 MB, free: 42.68 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2248, allocations: 2.656 kB / 440.7 MB, free: 42.68 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000631/0.2254, allocations: 0.6862 MB / 441.4 MB, free: 41.96 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005546/0.226, allocations: 213 kB / 441.6 MB, free: 41.78 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002492/0.2285, allocations: 2.001 MB / 443.6 MB, free: 39.77 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001411/0.2286, allocations: 238.4 kB / 443.8 MB, free: 39.52 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005435/0.2291, allocations: 301 kB / 444.1 MB, free: 39.32 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001985/0.2293, allocations: 123.7 kB / 444.2 MB, free: 39.22 MB / 330.7 MB Notification: Performance of SimCode: time 1.092e-06/0.2293, allocations: 0 / 444.2 MB, free: 39.22 MB / 330.7 MB Notification: Performance of Templates: time 0.01841/0.2478, allocations: 19.83 MB / 464 MB, free: 20.42 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.8540169538464397]