Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001923/0.001923, allocations: 93.47 kB / 19.44 MB, free: 336 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.002055/0.002055, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.616/1.616, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.1511/0.1511, allocations: 17.45 MB / 277 MB, free: 11.6 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.Obsolete.Examples.HeatingOfAlcohol,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol") translateModel(Chemical.Obsolete.Examples.HeatingOfAlcohol,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 352.8 MB, free: 10.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.329e-05/3.516e-05, allocations: 6.25 kB / 352.8 MB, free: 10.23 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfAlcohol): time 0.006911/0.006947, allocations: 4.251 MB / 357.1 MB, free: 5.953 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01365/0.0206, allocations: 8.718 MB / 365.8 MB, free: 13.2 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006928/0.02129, allocations: 11.88 kB / 365.8 MB, free: 13.19 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007061/0.022, allocations: 166.6 kB / 366 MB, free: 13.03 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002753/0.02475, allocations: 0.8105 MB / 366.8 MB, free: 12.21 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003908/0.02866, allocations: 1.048 MB / 367.8 MB, free: 11.16 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001827/0.03049, allocations: 0.9196 MB / 368.7 MB, free: 10.23 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006773/0.03116, allocations: 437 kB / 369.2 MB, free: 9.805 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008782/0.03204, allocations: 0.6239 MB / 369.8 MB, free: 9.18 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007211/0.03276, allocations: 395 kB / 370.2 MB, free: 8.793 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001453/0.03291, allocations: 76 kB / 370.2 MB, free: 8.719 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002867/0.03577, allocations: 0.8654 MB / 371.1 MB, free: 7.852 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002351/0.03601, allocations: 183.4 kB / 371.3 MB, free: 7.672 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004205/0.03643, allocations: 299.4 kB / 371.6 MB, free: 7.379 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00445/0.04088, allocations: 1.946 MB / 373.5 MB, free: 5.426 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.04088, allocations: 0 / 373.5 MB, free: 5.426 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.04089, allocations: 3.938 kB / 373.5 MB, free: 5.422 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.339e-05/0.0409, allocations: 0 / 373.5 MB, free: 5.422 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.00247/0.04337, allocations: 1.239 MB / 374.8 MB, free: 4.141 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.04342, allocations: 12.02 kB / 374.8 MB, free: 4.129 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000853/0.04427, allocations: 247.6 kB / 375 MB, free: 3.887 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008154/0.04509, allocations: 407.9 kB / 375.4 MB, free: 3.457 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6e-05/0.04515, allocations: 54.38 kB / 375.5 MB, free: 3.406 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001396/0.04529, allocations: 68.36 kB / 375.5 MB, free: 3.34 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001368/0.04665, allocations: 0.7842 MB / 376.3 MB, free: 2.539 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.176e-05/0.04668, allocations: 192 / 376.3 MB, free: 2.539 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.521e-05/0.04675, allocations: 28.38 kB / 376.3 MB, free: 2.512 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.296e-05/0.04677, allocations: 19.94 kB / 376.4 MB, free: 2.492 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001532/0.04831, allocations: 0.8511 MB / 377.2 MB, free: 1.641 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.004248/0.05255, allocations: 2.131 MB / 379.4 MB, free: 15.46 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001768/0.05432, allocations: 0.8347 MB / 380.2 MB, free: 14.61 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004528/0.05477, allocations: 258.1 kB / 380.4 MB, free: 14.36 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004107/0.05888, allocations: 1.698 MB / 382.1 MB, free: 12.64 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.709e-05/0.05893, allocations: 45.33 kB / 382.2 MB, free: 12.58 MB / 314.7 MB Notification: Performance of pre-optimization done (n=42): time 1.793e-06/0.05893, allocations: 0 / 382.2 MB, free: 12.58 MB / 314.7 MB Notification: Performance of matching and sorting (n=56): time 0.01674/0.07567, allocations: 2.751 MB / 384.9 MB, free: 9.773 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.254e-05/0.07574, allocations: 59.91 kB / 385 MB, free: 9.703 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007067/0.07644, allocations: 0.5024 MB / 385.5 MB, free: 9.18 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.611e-05/0.07651, allocations: 37.7 kB / 385.5 MB, free: 9.137 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003936/0.0769, allocations: 446.7 kB / 386 MB, free: 8.695 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003342/0.07724, allocations: 218.2 kB / 386.2 MB, free: 8.48 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002667/0.0775, allocations: 168.3 kB / 386.3 MB, free: 8.309 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0003595/0.07786, allocations: 0.5587 MB / 386.9 MB, free: 7.738 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004326/0.07829, allocations: 209.9 kB / 387.1 MB, free: 7.531 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008135/0.07911, allocations: 0.5808 MB / 387.7 MB, free: 6.801 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001433/0.08054, allocations: 0.8728 MB / 388.6 MB, free: 5.773 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.08055, allocations: 0 / 388.6 MB, free: 5.773 MB / 314.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.005477/0.08602, allocations: 1.199 MB / 389.8 MB, free: 4.559 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.756e-05/0.08605, allocations: 8 kB / 389.8 MB, free: 4.551 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.615e-05/0.08607, allocations: 8 kB / 389.8 MB, free: 4.543 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006236/0.0923, allocations: 0.7063 MB / 390.5 MB, free: 3.828 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006105/0.09291, allocations: 163.7 kB / 390.6 MB, free: 3.668 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009357/0.1023, allocations: 5.613 MB / 396.3 MB, free: 13.81 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006426/0.1029, allocations: 24 kB / 396.3 MB, free: 13.79 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.361e-05/0.103, allocations: 44.02 kB / 396.3 MB, free: 13.75 MB / 330.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.000415/0.1034, allocations: 248.3 kB / 396.6 MB, free: 13.49 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001961/0.1036, allocations: 71.67 kB / 396.6 MB, free: 13.42 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005872/0.1095, allocations: 1.122 MB / 397.8 MB, free: 12.28 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.13e-05/0.1095, allocations: 8 kB / 397.8 MB, free: 12.27 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.1095, allocations: 0 / 397.8 MB, free: 12.27 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.677e-05/0.1095, allocations: 7.922 kB / 397.8 MB, free: 12.27 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006947/0.1165, allocations: 1.811 MB / 399.6 MB, free: 10.37 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.658e-06/0.1165, allocations: 4 kB / 399.6 MB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003625/0.1168, allocations: 91.89 kB / 399.7 MB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007647/0.1245, allocations: 0.8459 MB / 400.5 MB, free: 9.414 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001198/0.1246, allocations: 27.98 kB / 400.5 MB, free: 9.387 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01098/0.1356, allocations: 7.309 MB / 407.9 MB, free: 1.707 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.693e-06/0.1356, allocations: 4 kB / 407.9 MB, free: 1.703 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006395/0.142, allocations: 1.529 MB / 409.4 MB, free: 116 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002049/0.1422, allocations: 47.67 kB / 409.4 MB, free: 68 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.411e-05/0.1423, allocations: 16 kB / 409.4 MB, free: 52 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003476/0.1426, allocations: 19.92 kB / 409.5 MB, free: 32 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.1475/0.2902, allocations: 56.83 kB / 409.5 MB, free: 63.22 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001067/0.2903, allocations: 23.7 kB / 409.5 MB, free: 63.22 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003736/0.2906, allocations: 312.1 kB / 409.9 MB, free: 63.09 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2906, allocations: 3.219 kB / 409.9 MB, free: 63.09 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001602/0.2923, allocations: 398.1 kB / 410.2 MB, free: 63.09 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.0007944/0.293, allocations: 483.9 kB / 410.7 MB, free: 63 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001657/0.2947, allocations: 1.047 MB / 411.8 MB, free: 62.64 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.2947, allocations: 0 / 411.8 MB, free: 62.64 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001107/0.2958, allocations: 0.917 MB / 412.7 MB, free: 62.11 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008511/0.2967, allocations: 169.1 kB / 412.8 MB, free: 62.1 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001902/0.2986, allocations: 1.299 MB / 414.1 MB, free: 61.52 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002909/0.2989, allocations: 298 kB / 414.4 MB, free: 61.43 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003932/0.2993, allocations: 131.3 kB / 414.6 MB, free: 61.42 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001791/0.2994, allocations: 98.64 kB / 414.7 MB, free: 61.42 MB / 330.7 MB Notification: Performance of SimCode: time 1.072e-06/0.2994, allocations: 0 / 414.7 MB, free: 61.42 MB / 330.7 MB Notification: Performance of Templates: time 0.02261/0.322, allocations: 16.92 MB / 431.6 MB, free: 51.27 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol.sim & ./Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.713045459007844]