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.001158/0.001158, 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.001821/0.001821, allocations: 173 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.021/1.021, allocations: 177.1 MB / 203.8 MB, free: 5.648 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.08906/0.08906, 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.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 2.144e-06/2.144e-06, allocations: 0 / 353.5 MB, free: 10.21 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.665e-05/2.879e-05, allocations: 14.19 kB / 353.6 MB, free: 10.19 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfAlcohol): time 0.00436/0.004389, allocations: 4.287 MB / 357.8 MB, free: 5.875 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.006894/0.01128, allocations: 8.718 MB / 366.6 MB, free: 13.12 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002473/0.01153, allocations: 11.94 kB / 366.6 MB, free: 13.11 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003823/0.01191, allocations: 178.6 kB / 366.7 MB, free: 12.94 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00138/0.01329, allocations: 0.8066 MB / 367.6 MB, free: 12.12 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001812/0.0151, allocations: 1.044 MB / 368.6 MB, free: 11.07 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006578/0.01576, allocations: 0.9196 MB / 369.5 MB, free: 10.15 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003603/0.01612, allocations: 441 kB / 369.9 MB, free: 9.719 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004102/0.01653, allocations: 0.6122 MB / 370.6 MB, free: 9.105 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003596/0.01689, allocations: 391.1 kB / 370.9 MB, free: 8.723 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.99e-05/0.01696, allocations: 79.98 kB / 371 MB, free: 8.645 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001042/0.018, allocations: 0.8732 MB / 371.9 MB, free: 7.77 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001255/0.01813, allocations: 187.4 kB / 372.1 MB, free: 7.586 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001956/0.01832, allocations: 295.4 kB / 372.4 MB, free: 7.297 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001444/0.01977, allocations: 1.642 MB / 374 MB, free: 5.648 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.01977, allocations: 0 / 374 MB, free: 5.648 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.01977, allocations: 0 / 374 MB, free: 5.648 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.296e-06/0.01978, allocations: 4 kB / 374 MB, free: 5.645 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.001176/0.02096, allocations: 1.192 MB / 375.2 MB, free: 4.41 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.02099, allocations: 8.031 kB / 375.2 MB, free: 4.402 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000467/0.02146, allocations: 251.6 kB / 375.5 MB, free: 4.156 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004313/0.02189, allocations: 411.8 kB / 375.9 MB, free: 3.723 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.163e-05/0.02192, allocations: 54.38 kB / 375.9 MB, free: 3.672 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.428e-05/0.02199, allocations: 68.38 kB / 376 MB, free: 3.605 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00071/0.0227, allocations: 0.6124 MB / 376.6 MB, free: 2.977 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.02272, allocations: 192 / 376.6 MB, free: 2.977 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.958e-05/0.02277, allocations: 28.38 kB / 376.6 MB, free: 2.949 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.707e-05/0.02279, allocations: 19.94 kB / 376.6 MB, free: 2.93 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007528/0.02354, allocations: 0.601 MB / 377.2 MB, free: 2.332 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.001983/0.02552, allocations: 1.776 MB / 379 MB, free: 0.5039 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009912/0.02652, allocations: 0.8469 MB / 379.9 MB, free: 15.64 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002305/0.02675, allocations: 186.1 kB / 380 MB, free: 15.45 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001829/0.02858, allocations: 1.582 MB / 381.6 MB, free: 13.85 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/0.0286, allocations: 37.39 kB / 381.7 MB, free: 13.8 MB / 314.7 MB Notification: Performance of pre-optimization done (n=42): time 1.894e-06/0.0286, allocations: 0 / 381.7 MB, free: 13.8 MB / 314.7 MB Notification: Performance of matching and sorting (n=56): time 0.007056/0.03566, allocations: 2.45 MB / 384.1 MB, free: 11.3 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.03569, allocations: 55.91 kB / 384.2 MB, free: 11.23 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002959/0.03599, allocations: 430.4 kB / 384.6 MB, free: 10.79 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.179e-05/0.03602, allocations: 37.7 kB / 384.6 MB, free: 10.75 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001989/0.03622, allocations: 426.8 kB / 385 MB, free: 10.32 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/0.03633, allocations: 206.2 kB / 385.2 MB, free: 10.12 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001404/0.03647, allocations: 148.3 kB / 385.4 MB, free: 9.969 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.03662, allocations: 0.5352 MB / 385.9 MB, free: 9.422 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002107/0.03683, allocations: 154.6 kB / 386.1 MB, free: 9.266 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003515/0.03718, allocations: 494.8 kB / 386.6 MB, free: 8.633 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006222/0.03781, allocations: 0.7088 MB / 387.3 MB, free: 7.77 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.03781, allocations: 4 kB / 387.3 MB, free: 7.766 MB / 314.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002161/0.03997, allocations: 1.008 MB / 388.3 MB, free: 6.742 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.03999, allocations: 8 kB / 388.3 MB, free: 6.734 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.04, allocations: 8 kB / 388.3 MB, free: 6.727 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002553/0.04255, allocations: 0.651 MB / 388.9 MB, free: 6.066 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002676/0.04282, allocations: 159.8 kB / 389.1 MB, free: 5.91 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004164/0.04698, allocations: 4.893 MB / 394 MB, free: 0.7773 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002151/0.0472, allocations: 32 kB / 394 MB, free: 0.7461 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.517e-05/0.04724, allocations: 39.98 kB / 394.1 MB, free: 0.707 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.0001594/0.0474, allocations: 204.3 kB / 394.3 MB, free: 0.4961 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.684e-05/0.04749, allocations: 67.7 kB / 394.3 MB, free: 440 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002495/0.04998, allocations: 0.9545 MB / 395.3 MB, free: 15.45 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.676e-06/0.04999, allocations: 8 kB / 395.3 MB, free: 15.44 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.04999, allocations: 0 / 395.3 MB, free: 15.44 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.05, allocations: 7.984 kB / 395.3 MB, free: 15.43 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002926/0.05292, allocations: 1.514 MB / 396.8 MB, free: 13.83 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.05293, allocations: 4 kB / 396.8 MB, free: 13.83 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001769/0.0531, allocations: 91.84 kB / 396.9 MB, free: 13.74 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003114/0.05622, allocations: 0.7914 MB / 397.7 MB, free: 12.93 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.288e-05/0.05625, allocations: 19.98 kB / 397.7 MB, free: 12.91 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00455/0.0608, allocations: 6.583 MB / 404.3 MB, free: 5.961 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.0608, allocations: 0 / 404.3 MB, free: 5.961 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002767/0.06357, allocations: 1.243 MB / 405.5 MB, free: 4.656 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.596e-05/0.06362, allocations: 47.67 kB / 405.6 MB, free: 4.609 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.514e-05/0.06367, allocations: 12 kB / 405.6 MB, free: 4.598 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001563/0.06382, allocations: 19.94 kB / 405.6 MB, free: 4.578 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.046e-05/0.06392, allocations: 60.39 kB / 405.7 MB, free: 4.52 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.848e-05/0.06394, allocations: 23.98 kB / 405.7 MB, free: 4.496 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001664/0.06411, allocations: 271.1 kB / 406 MB, free: 4.234 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.06411, allocations: 0 / 406 MB, free: 4.234 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009683/0.06508, allocations: 395.1 kB / 406.4 MB, free: 3.848 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.0006037/0.06568, allocations: 485.9 kB / 406.8 MB, free: 3.359 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009917/0.06667, allocations: 0.896 MB / 407.7 MB, free: 2.438 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.06668, allocations: 3.938 kB / 407.7 MB, free: 2.434 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000619/0.0673, allocations: 0.8372 MB / 408.6 MB, free: 1.539 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005154/0.06781, allocations: 165.5 kB / 408.7 MB, free: 1.375 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.001948/0.06976, allocations: 1.241 MB / 410 MB, free: 72 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1107/0.1804, allocations: 141.9 kB / 410.1 MB, free: 64.02 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000448/0.1809, allocations: 126.7 kB / 410.2 MB, free: 64.02 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001825/0.1811, allocations: 94.17 kB / 410.3 MB, free: 64.02 MB / 330.7 MB Notification: Performance of SimCode: time 9.82e-07/0.1811, allocations: 0 / 410.3 MB, free: 64.02 MB / 330.7 MB Notification: Performance of Templates: time 0.02018/0.2013, allocations: 16.92 MB / 427.2 MB, free: 56.25 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: 3.727515099104494]