Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.HeatingOfAlcohol.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.001018/0.001018, allocations: 93.06 kB / 19.65 MB, free: 280 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.001186/0.001186, allocations: 173 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 1.041/1.041, allocations: 177.1 MB / 203.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1064/0.1064, allocations: 17.38 MB / 277.3 MB, free: 11.63 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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.Obsolete.Examples.HeatingOfAlcohol,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.HeatingOfAlcohol") translateModel(Chemical.Obsolete.Examples.HeatingOfAlcohol,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.HeatingOfAlcohol") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.335e-06/2.335e-06, allocations: 0 / 353.4 MB, free: 9.992 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.295e-05/3.529e-05, allocations: 2.312 kB / 353.4 MB, free: 9.988 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfAlcohol): time 0.006659/0.006695, allocations: 4.301 MB / 357.7 MB, free: 5.656 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01127/0.01796, allocations: 8.6 MB / 366.3 MB, free: 13.02 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007907/0.01875, allocations: 11.94 kB / 366.3 MB, free: 13.01 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007393/0.01949, allocations: 170.6 kB / 366.5 MB, free: 12.84 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002698/0.02219, allocations: 0.8183 MB / 367.3 MB, free: 12.02 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003108/0.0253, allocations: 1.04 MB / 368.4 MB, free: 10.97 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001501/0.0268, allocations: 0.9231 MB / 369.3 MB, free: 10.05 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007178/0.02752, allocations: 445 kB / 369.7 MB, free: 9.613 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009516/0.02847, allocations: 0.6122 MB / 370.3 MB, free: 9 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000761/0.02923, allocations: 403 kB / 370.7 MB, free: 8.605 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002423/0.02947, allocations: 76 kB / 370.8 MB, free: 8.531 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0028/0.03227, allocations: 0.8616 MB / 371.7 MB, free: 7.668 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002154/0.03249, allocations: 187.3 kB / 371.8 MB, free: 7.484 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004155/0.0329, allocations: 295.4 kB / 372.1 MB, free: 7.195 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003574/0.03647, allocations: 1.642 MB / 373.8 MB, free: 5.547 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.03648, allocations: 0 / 373.8 MB, free: 5.547 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.03648, allocations: 4 kB / 373.8 MB, free: 5.543 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.483e-05/0.03651, allocations: 0 / 373.8 MB, free: 5.543 MB / 298.7 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.002264/0.03877, allocations: 1.2 MB / 375 MB, free: 4.301 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/0.03882, allocations: 8.031 kB / 375 MB, free: 4.293 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000769/0.03959, allocations: 247.6 kB / 375.2 MB, free: 4.051 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007271/0.04032, allocations: 415.9 kB / 375.6 MB, free: 3.613 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.85e-05/0.04036, allocations: 50.38 kB / 375.7 MB, free: 3.566 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001239/0.04049, allocations: 68.38 kB / 375.7 MB, free: 3.5 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001023/0.04151, allocations: 0.6085 MB / 376.4 MB, free: 2.875 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.04153, allocations: 192 / 376.4 MB, free: 2.875 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.913e-05/0.0416, allocations: 32.38 kB / 376.4 MB, free: 2.844 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.045e-05/0.04162, allocations: 19.94 kB / 376.4 MB, free: 2.824 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001064/0.04268, allocations: 0.5932 MB / 377 MB, free: 2.234 MB / 298.7 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.002976/0.04566, allocations: 1.78 MB / 378.8 MB, free: 412 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001442/0.0471, allocations: 0.8423 MB / 379.6 MB, free: 15.55 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003214/0.04742, allocations: 190.1 kB / 379.8 MB, free: 15.36 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002917/0.05034, allocations: 1.578 MB / 381.4 MB, free: 13.76 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.965e-05/0.05038, allocations: 41.39 kB / 381.4 MB, free: 13.71 MB / 314.7 MB Notification: Performance of pre-optimization done (n=42): time 2.334e-06/0.05038, allocations: 4 kB / 381.4 MB, free: 13.7 MB / 314.7 MB Notification: Performance of matching and sorting (n=56): time 0.0109/0.06128, allocations: 2.439 MB / 383.9 MB, free: 11.21 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.708e-05/0.06132, allocations: 63.78 kB / 383.9 MB, free: 11.13 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004778/0.0618, allocations: 434.4 kB / 384.4 MB, free: 10.69 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.807e-05/0.06184, allocations: 37.7 kB / 384.4 MB, free: 10.64 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001903/0.06203, allocations: 422.8 kB / 384.8 MB, free: 10.23 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001354/0.06216, allocations: 210.2 kB / 385 MB, free: 10.02 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001485/0.06231, allocations: 148.3 kB / 385.2 MB, free: 9.867 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.06248, allocations: 0.5313 MB / 385.7 MB, free: 9.324 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002135/0.06269, allocations: 150.6 kB / 385.8 MB, free: 9.172 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003511/0.06305, allocations: 0.491 MB / 386.3 MB, free: 8.531 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006578/0.0637, allocations: 0.7049 MB / 387 MB, free: 7.672 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.06371, allocations: 4 kB / 387 MB, free: 7.668 MB / 314.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002165/0.06587, allocations: 1.003 MB / 388 MB, free: 6.648 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.599e-05/0.0659, allocations: 8 kB / 388 MB, free: 6.641 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.06591, allocations: 8 kB / 388 MB, free: 6.633 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002598/0.06851, allocations: 0.6595 MB / 388.7 MB, free: 5.965 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003124/0.06882, allocations: 159.8 kB / 388.9 MB, free: 5.809 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004617/0.07344, allocations: 4.894 MB / 393.8 MB, free: 0.6719 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003222/0.07376, allocations: 31.98 kB / 393.8 MB, free: 0.6406 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.984e-05/0.07381, allocations: 40 kB / 393.8 MB, free: 0.6016 MB / 314.7 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.0002141/0.07402, allocations: 200.3 kB / 394 MB, free: 404 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001125/0.07414, allocations: 71.66 kB / 394.1 MB, free: 332 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002498/0.07663, allocations: 0.9505 MB / 395 MB, free: 15.35 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.07664, allocations: 8 kB / 395.1 MB, free: 15.34 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.07665, allocations: 0 / 395.1 MB, free: 15.34 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.07665, allocations: 0 / 395.1 MB, free: 15.34 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002963/0.07962, allocations: 1.53 MB / 396.6 MB, free: 13.72 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.07962, allocations: 4 kB / 396.6 MB, free: 13.72 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001859/0.07981, allocations: 87.89 kB / 396.7 MB, free: 13.63 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003054/0.08286, allocations: 0.7914 MB / 397.5 MB, free: 12.83 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.955e-05/0.08291, allocations: 16 kB / 397.5 MB, free: 12.81 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005402/0.08831, allocations: 6.578 MB / 404.1 MB, free: 5.863 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.08832, allocations: 4 kB / 404.1 MB, free: 5.859 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002648/0.09097, allocations: 1.232 MB / 405.3 MB, free: 4.566 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001357/0.0911, allocations: 51.66 kB / 405.3 MB, free: 4.516 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.504e-05/0.09115, allocations: 12 kB / 405.4 MB, free: 4.504 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001583/0.09131, allocations: 19.94 kB / 405.4 MB, free: 4.484 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/0.09144, allocations: 56.5 kB / 405.4 MB, free: 4.43 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-05/0.09148, allocations: 31.94 kB / 405.5 MB, free: 4.398 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005458/0.09202, allocations: 267.1 kB / 405.7 MB, free: 4.141 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.62e-07/0.09202, allocations: 0 / 405.7 MB, free: 4.141 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001131/0.09316, allocations: 403.1 kB / 406.1 MB, free: 3.746 MB / 330.7 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.0007534/0.09391, allocations: 481.8 kB / 406.6 MB, free: 3.262 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001219/0.09513, allocations: 0.8921 MB / 407.5 MB, free: 2.344 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.09513, allocations: 0 / 407.5 MB, free: 2.344 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006862/0.09582, allocations: 0.8412 MB / 408.3 MB, free: 1.445 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005532/0.09637, allocations: 164.8 kB / 408.5 MB, free: 1.285 MB / 330.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1392/0.2356, allocations: 1.24 MB / 409.7 MB, free: 58.03 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003146/0.2359, allocations: 145.9 kB / 409.9 MB, free: 57.95 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004261/0.2363, allocations: 125.9 kB / 410 MB, free: 57.95 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001954/0.2365, allocations: 95.91 kB / 410.1 MB, free: 57.95 MB / 330.7 MB Notification: Performance of SimCode: time 2.615e-06/0.2365, allocations: 0 / 410.1 MB, free: 57.95 MB / 330.7 MB Notification: Performance of Templates: time 0.02297/0.2595, allocations: 18.51 MB / 428.6 MB, free: 50.26 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.HeatingOfAlcohol.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.HeatingOfAlcohol.sim & ./Chemical_Chemical.Obsolete.Examples.HeatingOfAlcohol -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6932223490439355]