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.0009973/0.0009973, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001011/0.001011, allocations: 177 kB / 23.36 MB, free: 1.133 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.067/1.067, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.09671/0.09671, allocations: 17.47 MB / 277.7 MB, free: 11.44 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.044e-06/2.044e-06, allocations: 0 / 300.8 MB, free: 1.758 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.497e-05/2.701e-05, allocations: 4.562 kB / 300.8 MB, free: 1.754 MB / 266.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.03116/0.03119, allocations: 35.24 MB / 336 MB, free: 1.141 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00985/0.04104, allocations: 9.106 MB / 345.1 MB, free: 7.992 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006281/0.04167, allocations: 31.75 kB / 345.1 MB, free: 7.961 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001641/0.04331, allocations: 0.8001 MB / 345.9 MB, free: 7.156 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001132/0.04444, allocations: 0.7175 MB / 346.7 MB, free: 6.434 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001415/0.04585, allocations: 0.9477 MB / 347.6 MB, free: 5.48 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001125/0.04698, allocations: 1.261 MB / 348.9 MB, free: 4.215 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002497/0.04723, allocations: 176.2 kB / 349 MB, free: 4.02 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000484/0.04771, allocations: 0.6079 MB / 349.6 MB, free: 3.41 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004792/0.04819, allocations: 454.8 kB / 350.1 MB, free: 2.965 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.093e-05/0.04826, allocations: 80 kB / 350.2 MB, free: 2.887 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001567/0.04983, allocations: 1.197 MB / 351.4 MB, free: 1.688 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001624/0.04999, allocations: 294.9 kB / 351.7 MB, free: 1.398 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002111/0.0502, allocations: 343 kB / 352 MB, free: 1.062 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001608/0.05181, allocations: 2.009 MB / 354 MB, free: 15.05 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.05181, allocations: 0 / 354 MB, free: 15.05 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.05182, allocations: 0 / 354 MB, free: 15.05 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.626e-06/0.05182, allocations: 3.938 kB / 354 MB, free: 15.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.001234/0.05306, allocations: 1.397 MB / 355.4 MB, free: 13.62 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.198e-05/0.05309, allocations: 8.031 kB / 355.4 MB, free: 13.61 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004511/0.05354, allocations: 428.5 kB / 355.8 MB, free: 13.19 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005205/0.05406, allocations: 0.5124 MB / 356.3 MB, free: 12.65 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.467e-05/0.05415, allocations: 125.9 kB / 356.5 MB, free: 12.52 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.174e-05/0.05422, allocations: 88.36 kB / 356.5 MB, free: 12.43 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008057/0.05502, allocations: 0.9738 MB / 357.5 MB, free: 11.44 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.05504, allocations: 192 / 357.5 MB, free: 11.44 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.812e-05/0.05508, allocations: 40.11 kB / 357.6 MB, free: 11.4 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.385e-05/0.05518, allocations: 138.1 kB / 357.7 MB, free: 11.26 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009927/0.05617, allocations: 1.319 MB / 359 MB, free: 9.922 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00313/0.0593, allocations: 3.214 MB / 362.2 MB, free: 6.648 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003321/0.05963, allocations: 247.1 kB / 362.5 MB, free: 6.398 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001178/0.05975, allocations: 112.8 kB / 362.6 MB, free: 6.285 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00189/0.06164, allocations: 1.795 MB / 364.4 MB, free: 4.473 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/0.06166, allocations: 38.78 kB / 364.4 MB, free: 4.426 MB / 330.7 MB Notification: Performance of pre-optimization done (n=33): time 1.473e-06/0.06166, allocations: 0 / 364.4 MB, free: 4.426 MB / 330.7 MB Notification: Performance of matching and sorting (n=46): time 0.007016/0.06868, allocations: 3.078 MB / 367.5 MB, free: 1.238 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.423e-05/0.0687, allocations: 55.41 kB / 367.5 MB, free: 1.172 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003443/0.06905, allocations: 0.5932 MB / 368.1 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.793e-05/0.06908, allocations: 37.7 kB / 368.2 MB, free: 0.5273 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002179/0.0693, allocations: 0.551 MB / 368.7 MB, free: 15.96 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.137e-05/0.06939, allocations: 170.5 kB / 368.9 MB, free: 15.8 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001767/0.06957, allocations: 194.4 kB / 369.1 MB, free: 15.6 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.06968, allocations: 394.6 kB / 369.5 MB, free: 15.21 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.06981, allocations: 117.9 kB / 369.6 MB, free: 15.09 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002966/0.07011, allocations: 0.4886 MB / 370.1 MB, free: 14.43 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005303/0.07064, allocations: 0.7089 MB / 370.8 MB, free: 13.55 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.07064, allocations: 4 kB / 370.8 MB, free: 13.54 MB / 346.7 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.001818/0.07246, allocations: 0.9607 MB / 371.7 MB, free: 12.57 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.07248, allocations: 10.03 kB / 371.8 MB, free: 12.56 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.0725, allocations: 12.88 kB / 371.8 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002667/0.07516, allocations: 0.8101 MB / 372.6 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000811/0.07597, allocations: 379.5 kB / 372.9 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003384/0.07936, allocations: 3.611 MB / 376.6 MB, free: 7.539 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002768/0.07964, allocations: 39.98 kB / 376.6 MB, free: 7.5 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.495e-05/0.07972, allocations: 91.97 kB / 376.7 MB, free: 7.41 MB / 346.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.0002158/0.07994, allocations: 172.3 kB / 376.9 MB, free: 7.23 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/0.08005, allocations: 67.92 kB / 376.9 MB, free: 7.164 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001912/0.08196, allocations: 0.9572 MB / 377.9 MB, free: 6.184 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.08197, allocations: 7.984 kB / 377.9 MB, free: 6.176 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.08197, allocations: 0 / 377.9 MB, free: 6.176 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.902e-06/0.08198, allocations: 7.984 kB / 377.9 MB, free: 6.168 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00063/0.08261, allocations: 0.7027 MB / 378.6 MB, free: 5.41 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.08261, allocations: 0 / 378.6 MB, free: 5.41 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006879/0.0833, allocations: 271.9 kB / 378.9 MB, free: 5.145 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002491/0.08579, allocations: 0.7086 MB / 379.6 MB, free: 4.426 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.021e-05/0.08583, allocations: 35.92 kB / 379.6 MB, free: 4.391 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002807/0.08863, allocations: 3.381 MB / 383 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.08864, allocations: 4 kB / 383 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001732/0.09037, allocations: 0.9439 MB / 383.9 MB, free: 15.81 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.285e-05/0.09043, allocations: 63.48 kB / 384 MB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.2e-05/0.09049, allocations: 16 kB / 384 MB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001781/0.09067, allocations: 19.98 kB / 384 MB, free: 15.71 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.005e-05/0.09076, allocations: 60.28 kB / 384.1 MB, free: 15.65 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.369e-05/0.09081, allocations: 35.98 kB / 384.1 MB, free: 15.62 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001858/0.09099, allocations: 268.5 kB / 384.4 MB, free: 15.36 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.09099, allocations: 0 / 384.4 MB, free: 15.36 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007536/0.09174, allocations: 307.7 kB / 384.7 MB, free: 15.06 MB / 362.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.0004174/0.09216, allocations: 332.2 kB / 385 MB, free: 14.72 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009688/0.09313, allocations: 0.8059 MB / 385.8 MB, free: 13.89 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.701e-05/0.09315, allocations: 12.5 kB / 385.8 MB, free: 13.88 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005082/0.09366, allocations: 0.5059 MB / 386.3 MB, free: 13.35 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004917/0.09415, allocations: 206.5 kB / 386.5 MB, free: 13.15 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002426/0.09657, allocations: 1.984 MB / 388.5 MB, free: 11.1 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001658/0.09674, allocations: 243.6 kB / 388.8 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005125/0.09725, allocations: 278.5 kB / 389 MB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004049/0.09766, allocations: 253.2 kB / 389.3 MB, free: 10.32 MB / 362.7 MB Notification: Performance of SimCode: time 1.072e-06/0.09766, allocations: 0 / 389.3 MB, free: 10.32 MB / 362.7 MB Notification: Performance of Templates: time 0.02399/0.1217, allocations: 22.54 MB / 411.8 MB, free: 3.895 MB / 378.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Chemical_master_Chemical.Examples.HeatingOfWater.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6066854638047516]