Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.HeatingOfAlcohol.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00156/0.00156, allocations: 118.2 kB / 17.13 MB, free: 5.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001555/0.001555, allocations: 194.2 kB / 20.08 MB, free: 3.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 225.6 MB / 248.5 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.08631/0.08631, allocations: 15.54 MB / 318.9 MB, free: 13.59 MB / 254.1 MB " [Timeout remaining time 180] Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Chemical.Examples.HeatingOfAlcohol,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.HeatingOfAlcohol") translateModel(Chemical.Examples.HeatingOfAlcohol,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.HeatingOfAlcohol") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 67.19 kB / 446.1 MB, free: 47.56 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07902/0.08095, allocations: 56.55 MB / 0.4908 GB, free: 20.54 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.HeatingOfAlcohol): time 0.004088/0.08504, allocations: 4.265 MB / 0.495 GB, free: 17.16 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006893/0.09193, allocations: 8.717 MB / 0.5035 GB, free: 10.09 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003442/0.09227, allocations: 6.875 kB / 0.5035 GB, free: 10.09 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004794/0.09275, allocations: 185.4 kB / 0.5037 GB, free: 9.945 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001427/0.09418, allocations: 0.7947 MB / 0.5045 GB, free: 9.328 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001801/0.09598, allocations: 1.005 MB / 0.5055 GB, free: 8.484 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006315/0.09661, allocations: 0.885 MB / 0.5063 GB, free: 7.594 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003324/0.09694, allocations: 420.2 kB / 0.5067 GB, free: 7.18 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002838/0.09723, allocations: 446.8 kB / 0.5072 GB, free: 6.742 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004517/0.09768, allocations: 478.3 kB / 0.5076 GB, free: 6.273 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.103e-05/0.09777, allocations: 79.98 kB / 0.5077 GB, free: 6.195 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001803/0.09957, allocations: 0.9127 MB / 0.5086 GB, free: 5.281 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001279/0.0997, allocations: 179.4 kB / 0.5088 GB, free: 5.105 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002539/0.09996, allocations: 418.1 kB / 0.5092 GB, free: 4.695 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001897/0.1019, allocations: 1.782 MB / 0.5109 GB, free: 2.906 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1019, allocations: 0 / 0.5109 GB, free: 2.906 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1019, allocations: 0 / 0.5109 GB, free: 2.906 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.006e-05/0.1019, allocations: 0 / 0.5109 GB, free: 2.906 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.001539/0.1034, allocations: 1.176 MB / 0.512 GB, free: 1.676 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.1034, allocations: 12.03 kB / 0.5121 GB, free: 1.664 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005766/0.104, allocations: 156.1 kB / 0.5122 GB, free: 1.512 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005597/0.1046, allocations: 459.7 kB / 0.5126 GB, free: 1.023 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.209e-05/0.1046, allocations: 54.38 kB / 0.5127 GB, free: 0.9727 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.259e-05/0.1047, allocations: 68.33 kB / 0.5128 GB, free: 0.9062 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009348/0.1056, allocations: 0.7628 MB / 0.5135 GB, free: 132 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/0.1057, allocations: 3.938 kB / 0.5135 GB, free: 128 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.933e-05/0.1057, allocations: 28 kB / 0.5135 GB, free: 100 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.1057, allocations: 19.98 kB / 0.5136 GB, free: 80 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001434/0.1072, allocations: 0.8707 MB / 0.5144 GB, free: 15.21 MB / 382.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003777/0.1109, allocations: 2.35 MB / 0.5167 GB, free: 12.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001728/0.1127, allocations: 0.961 MB / 0.5176 GB, free: 11.73 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004152/0.1131, allocations: 247 kB / 0.5179 GB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004069/0.1171, allocations: 2.856 MB / 0.5207 GB, free: 8.293 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/0.1172, allocations: 38.55 kB / 0.5207 GB, free: 8.246 MB / 382.1 MB Notification: Performance of pre-optimization done (n=42): time 1.613e-06/0.1172, allocations: 0 / 0.5207 GB, free: 8.246 MB / 382.1 MB Notification: Performance of matching and sorting (n=56): time 0.01521/0.1324, allocations: 2.813 MB / 0.5234 GB, free: 5.344 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.251e-05/0.1324, allocations: 59.97 kB / 0.5235 GB, free: 5.273 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004691/0.1329, allocations: 409.7 kB / 0.5239 GB, free: 4.867 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.598e-05/0.133, allocations: 33.7 kB / 0.5239 GB, free: 4.828 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002665/0.1332, allocations: 376.1 kB / 0.5243 GB, free: 4.457 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001791/0.1334, allocations: 210.2 kB / 0.5245 GB, free: 4.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002168/0.1336, allocations: 142.6 kB / 0.5246 GB, free: 4.105 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001861/0.1338, allocations: 370.7 kB / 0.525 GB, free: 3.734 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003804/0.1342, allocations: 201.9 kB / 0.5252 GB, free: 3.535 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006231/0.1348, allocations: 466.2 kB / 0.5256 GB, free: 2.969 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001095/0.1359, allocations: 0.7173 MB / 0.5263 GB, free: 2.137 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.84e-06/0.1359, allocations: 4 kB / 0.5263 GB, free: 2.133 MB / 382.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.004437/0.1403, allocations: 1.133 MB / 0.5274 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/0.1404, allocations: 12 kB / 0.5274 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.1404, allocations: 8 kB / 0.5274 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003503/0.1439, allocations: 441.3 kB / 0.5279 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004963/0.1444, allocations: 159.8 kB / 0.528 GB, free: 384 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007733/0.1521, allocations: 4.656 MB / 0.5326 GB, free: 11.44 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004871/0.1526, allocations: 24 kB / 0.5326 GB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.307e-05/0.1527, allocations: 43.98 kB / 0.5326 GB, free: 11.37 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (81): * Single equations (assignments): 79 * 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 {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0003039/0.153, allocations: 209.5 kB / 0.5328 GB, free: 11.16 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.1531, allocations: 55.62 kB / 0.5329 GB, free: 11.1 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005335/0.1584, allocations: 1.085 MB / 0.5339 GB, free: 9.996 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.1584, allocations: 8 kB / 0.5339 GB, free: 9.988 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.1584, allocations: 0 / 0.5339 GB, free: 9.988 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.265e-06/0.1585, allocations: 3.984 kB / 0.5339 GB, free: 9.984 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006134/0.1646, allocations: 1.813 MB / 0.5357 GB, free: 8.082 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.1646, allocations: 0 / 0.5357 GB, free: 8.082 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003272/0.1649, allocations: 91.89 kB / 0.5358 GB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004499/0.1694, allocations: 0.5059 MB / 0.5363 GB, free: 7.477 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.049e-05/0.1695, allocations: 19.98 kB / 0.5363 GB, free: 7.457 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008681/0.1781, allocations: 5.962 MB / 0.5421 GB, free: 1.07 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.1782, allocations: 4.188 kB / 0.5421 GB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00565/0.1838, allocations: 1.397 MB / 0.5435 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001698/0.184, allocations: 132.7 kB / 0.5436 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.018e-05/0.184, allocations: 12 kB / 0.5436 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003613/0.1844, allocations: 16 kB / 0.5437 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001378/0.1845, allocations: 68.36 kB / 0.5437 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.793e-05/0.1846, allocations: 23.98 kB / 0.5438 GB, free: 15.36 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003204/0.1849, allocations: 267.2 kB / 0.544 GB, free: 15.09 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1849, allocations: 112 / 0.544 GB, free: 15.09 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001334/0.1862, allocations: 407 kB / 0.5444 GB, free: 14.7 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (Ethanol.logn,liquidWater.amountOfBonds,liquidWater.logn) * 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 (48): * Single equations (assignments): 45 * 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 {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (2,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008054/0.1871, allocations: 470 kB / 0.5448 GB, free: 14.22 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001639/0.1887, allocations: 0.8541 MB / 0.5457 GB, free: 13.34 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.1887, allocations: 4.062 kB / 0.5457 GB, free: 13.34 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001166/0.1899, allocations: 0.7024 MB / 0.5464 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007736/0.1906, allocations: 160.4 kB / 0.5465 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002283/0.1929, allocations: 1.373 MB / 0.5479 GB, free: 11.02 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005491/0.1935, allocations: 0.8913 MB / 0.5487 GB, free: 10.1 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002421/0.1937, allocations: 124.7 kB / 0.5488 GB, free: 9.984 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1937, allocations: 0 / 0.5488 GB, free: 9.984 MB / 414.1 MB Notification: Performance of Templates: time 0.02221/0.2159, allocations: 17.38 MB / 0.5658 GB, free: 8.656 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Examples.HeatingOfAlcohol.makefile [Timeout 660] (rm -f Chemical_Chemical.Examples.HeatingOfAlcohol.pipe ; mkfifo Chemical_Chemical.Examples.HeatingOfAlcohol.pipe ; head -c 1048576 < Chemical_Chemical.Examples.HeatingOfAlcohol.pipe >> ../files/Chemical_Chemical.Examples.HeatingOfAlcohol.sim & ./Chemical_Chemical.Examples.HeatingOfAlcohol -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.HeatingOfAlcohol.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.537952672922984] Failed to read output from testmodel.py, exit status != 0: 0.37210467900149524 0.236147606 0.131539982 Calling exit ...