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.001059/0.001059, allocations: 92.22 kB / 19.65 MB, free: 276 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.00182/0.00182, allocations: 173 kB / 23.02 MB, free: 1.547 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.085/1.085, allocations: 177.1 MB / 203.4 MB, free: 5.145 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.09344/0.09344, allocations: 17.46 MB / 277.4 MB, free: 11.4 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.573e-06/1.573e-06, allocations: 0 / 353.5 MB, free: 9.84 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.987e-05/4.144e-05, allocations: 9.062 kB / 353.5 MB, free: 9.832 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfAlcohol): time 0.004954/0.004995, allocations: 4.307 MB / 357.8 MB, free: 5.496 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.007814/0.01281, allocations: 8.599 MB / 366.4 MB, free: 12.87 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005466/0.01336, allocations: 11.88 kB / 366.5 MB, free: 12.86 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004916/0.01385, allocations: 166.7 kB / 366.6 MB, free: 12.69 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001974/0.01582, allocations: 0.8183 MB / 367.4 MB, free: 11.87 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002103/0.01792, allocations: 1.048 MB / 368.5 MB, free: 10.81 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001032/0.01896, allocations: 0.9158 MB / 369.4 MB, free: 9.891 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004808/0.01944, allocations: 433 kB / 369.8 MB, free: 9.469 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005544/0.01999, allocations: 0.6239 MB / 370.4 MB, free: 8.844 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004892/0.02048, allocations: 399.1 kB / 370.8 MB, free: 8.453 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.824e-05/0.02058, allocations: 76 kB / 370.9 MB, free: 8.379 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001882/0.02246, allocations: 0.8654 MB / 371.8 MB, free: 7.512 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001489/0.02261, allocations: 187.4 kB / 372 MB, free: 7.328 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002281/0.02284, allocations: 295.4 kB / 372.2 MB, free: 7.039 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00253/0.02537, allocations: 1.642 MB / 373.9 MB, free: 5.391 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.02538, allocations: 0 / 373.9 MB, free: 5.391 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.963e-06/0.02538, allocations: 0 / 373.9 MB, free: 5.391 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.182e-05/0.02539, allocations: 0 / 373.9 MB, free: 5.391 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.001366/0.02676, allocations: 1.196 MB / 375.1 MB, free: 4.152 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.0268, allocations: 8.031 kB / 375.1 MB, free: 4.145 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005165/0.02732, allocations: 255.5 kB / 375.3 MB, free: 3.895 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004789/0.02779, allocations: 415.8 kB / 375.7 MB, free: 3.457 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.773e-05/0.02783, allocations: 50.38 kB / 375.8 MB, free: 3.41 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.26e-05/0.02791, allocations: 68.38 kB / 375.9 MB, free: 3.344 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007217/0.02864, allocations: 0.6085 MB / 376.5 MB, free: 2.719 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.02865, allocations: 4.188 kB / 376.5 MB, free: 2.715 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.594e-05/0.0287, allocations: 28.38 kB / 376.5 MB, free: 2.688 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.601e-05/0.02871, allocations: 19.94 kB / 376.5 MB, free: 2.668 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007012/0.02941, allocations: 0.5971 MB / 377.1 MB, free: 2.074 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.002185/0.0316, allocations: 1.772 MB / 378.9 MB, free: 256 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/0.0326, allocations: 0.843 MB / 379.7 MB, free: 15.39 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002396/0.03284, allocations: 190.1 kB / 379.9 MB, free: 15.2 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002042/0.03489, allocations: 1.582 MB / 381.5 MB, free: 13.6 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.03491, allocations: 37.39 kB / 381.5 MB, free: 13.55 MB / 314.7 MB Notification: Performance of pre-optimization done (n=42): time 2.314e-06/0.03491, allocations: 0 / 381.5 MB, free: 13.55 MB / 314.7 MB Notification: Performance of matching and sorting (n=56): time 0.00704/0.04195, allocations: 2.45 MB / 384 MB, free: 11.05 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.642e-05/0.04199, allocations: 55.91 kB / 384 MB, free: 10.98 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003378/0.04233, allocations: 434.4 kB / 384.5 MB, free: 10.53 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.507e-05/0.04236, allocations: 37.7 kB / 384.5 MB, free: 10.49 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000206/0.04257, allocations: 422.8 kB / 384.9 MB, free: 10.07 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001181/0.04269, allocations: 210.2 kB / 385.1 MB, free: 9.863 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001885/0.04288, allocations: 148.3 kB / 385.3 MB, free: 9.711 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.04302, allocations: 0.5313 MB / 385.8 MB, free: 9.168 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002093/0.04323, allocations: 150.6 kB / 385.9 MB, free: 9.016 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000468/0.0437, allocations: 498.7 kB / 386.4 MB, free: 8.379 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005929/0.04429, allocations: 0.701 MB / 387.1 MB, free: 7.523 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.0443, allocations: 4 kB / 387.1 MB, free: 7.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002361/0.04666, allocations: 1.012 MB / 388.1 MB, free: 6.492 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.73e-05/0.04669, allocations: 12.03 kB / 388.2 MB, free: 6.48 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.597e-05/0.04671, allocations: 11.98 kB / 388.2 MB, free: 6.469 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002565/0.04927, allocations: 0.651 MB / 388.8 MB, free: 5.809 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003124/0.04959, allocations: 163.7 kB / 389 MB, free: 5.648 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00473/0.05432, allocations: 4.882 MB / 393.9 MB, free: 0.5273 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000376/0.05469, allocations: 24 kB / 393.9 MB, free: 0.5039 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.922e-05/0.05475, allocations: 44 kB / 393.9 MB, free: 472 kB / 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.0002344/0.05499, allocations: 208.4 kB / 394.1 MB, free: 252 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/0.05509, allocations: 71.64 kB / 394.2 MB, free: 180 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002382/0.05747, allocations: 0.9584 MB / 395.2 MB, free: 15.19 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.05747, allocations: 8 kB / 395.2 MB, free: 15.18 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.05748, allocations: 0 / 395.2 MB, free: 15.18 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.05749, allocations: 3.984 kB / 395.2 MB, free: 15.18 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002975/0.06046, allocations: 1.518 MB / 396.7 MB, free: 13.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.461e-06/0.06047, allocations: 4 kB / 396.7 MB, free: 13.57 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001961/0.06066, allocations: 91.83 kB / 396.8 MB, free: 13.48 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003099/0.06376, allocations: 0.7875 MB / 397.6 MB, free: 12.68 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.745e-05/0.06381, allocations: 20 kB / 397.6 MB, free: 12.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005071/0.06888, allocations: 6.57 MB / 404.2 MB, free: 5.719 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.06888, allocations: 8 kB / 404.2 MB, free: 5.711 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002613/0.0715, allocations: 1.236 MB / 405.4 MB, free: 4.414 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001185/0.07162, allocations: 51.66 kB / 405.5 MB, free: 4.363 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.645e-05/0.07166, allocations: 12 kB / 405.5 MB, free: 4.352 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001582/0.07182, allocations: 19.94 kB / 405.5 MB, free: 4.332 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/0.07194, allocations: 60.33 kB / 405.5 MB, free: 4.273 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.502e-05/0.07197, allocations: 27.98 kB / 405.6 MB, free: 4.246 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004606/0.07243, allocations: 263.1 kB / 405.8 MB, free: 3.992 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.07243, allocations: 4 kB / 405.8 MB, free: 3.988 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001024/0.07346, allocations: 395.1 kB / 406.2 MB, free: 3.602 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.0007112/0.07417, allocations: 482.7 kB / 406.7 MB, free: 3.117 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001113/0.07528, allocations: 0.8999 MB / 407.6 MB, free: 2.191 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.07528, allocations: 4.062 kB / 407.6 MB, free: 2.188 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006621/0.07595, allocations: 0.8372 MB / 408.4 MB, free: 1.293 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005426/0.07649, allocations: 169.3 kB / 408.6 MB, free: 1.129 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.1314/0.2078, allocations: 1.226 MB / 409.8 MB, free: 52.32 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001384/0.208, allocations: 145.2 kB / 410 MB, free: 52.24 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003696/0.2084, allocations: 124.9 kB / 410.1 MB, free: 52.23 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000191/0.2085, allocations: 99.03 kB / 410.2 MB, free: 52.23 MB / 330.7 MB Notification: Performance of SimCode: time 1.673e-06/0.2086, allocations: 0 / 410.2 MB, free: 52.23 MB / 330.7 MB Notification: Performance of Templates: time 0.02262/0.2312, allocations: 18.52 MB / 428.7 MB, free: 45.66 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.7497392068617046]