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.001729/0.001729, allocations: 107.8 kB / 16.45 MB, free: 5.91 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.001835/0.001835, allocations: 194.8 kB / 19.41 MB, free: 3.621 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.732/1.732, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.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.1205/0.1205, allocations: 15.54 MB / 318.2 MB, free: 10.22 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.002209/0.002209, allocations: 71.88 kB / 445.4 MB, free: 13.07 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1441, allocations: 56.55 MB / 0.4902 GB, free: 4.414 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.HeatingOfAlcohol): time 0.006566/0.1507, allocations: 4.271 MB / 0.4944 GB, free: 124 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01118/0.1619, allocations: 8.709 MB / 0.5029 GB, free: 7.379 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005845/0.1625, allocations: 11.94 kB / 0.5029 GB, free: 7.367 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006705/0.1631, allocations: 190.6 kB / 0.5031 GB, free: 7.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002152/0.1653, allocations: 0.7914 MB / 0.5038 GB, free: 6.383 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003001/0.1683, allocations: 0.9981 MB / 0.5048 GB, free: 5.379 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001288/0.1696, allocations: 0.8927 MB / 0.5057 GB, free: 4.48 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007899/0.1704, allocations: 412.2 kB / 0.5061 GB, free: 4.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006565/0.171, allocations: 446.8 kB / 0.5065 GB, free: 3.633 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007408/0.1718, allocations: 478.3 kB / 0.507 GB, free: 3.164 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001107/0.1719, allocations: 84 kB / 0.507 GB, free: 3.082 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002679/0.1746, allocations: 0.9165 MB / 0.5079 GB, free: 2.164 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002073/0.1748, allocations: 179.4 kB / 0.5081 GB, free: 1.988 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004452/0.1752, allocations: 410.2 kB / 0.5085 GB, free: 1.586 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3065/0.4818, allocations: 1.786 MB / 0.5102 GB, free: 13.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.4818, allocations: 0 / 0.5102 GB, free: 13.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.4818, allocations: 0 / 0.5102 GB, free: 13.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.148e-05/0.4818, allocations: 0 / 0.5102 GB, free: 13.68 MB / 382.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.00232/0.4841, allocations: 1.17 MB / 0.5114 GB, free: 13 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.4842, allocations: 8.594 kB / 0.5114 GB, free: 13 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006528/0.4848, allocations: 157.2 kB / 0.5115 GB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006619/0.4855, allocations: 466.9 kB / 0.512 GB, free: 12.7 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.349e-05/0.4855, allocations: 52 kB / 0.512 GB, free: 12.7 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001039/0.4856, allocations: 66 kB / 0.5121 GB, free: 12.7 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001171/0.4868, allocations: 0.7569 MB / 0.5128 GB, free: 12.62 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.212e-05/0.4868, allocations: 5.891 kB / 0.5128 GB, free: 12.62 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.926e-05/0.4869, allocations: 25.56 kB / 0.5129 GB, free: 12.62 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.867e-05/0.4869, allocations: 17.5 kB / 0.5129 GB, free: 12.62 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001395/0.4883, allocations: 0.8732 MB / 0.5137 GB, free: 12.61 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.004233/0.4925, allocations: 2.343 MB / 0.516 GB, free: 11.76 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001695/0.4942, allocations: 0.9633 MB / 0.517 GB, free: 11.53 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004298/0.4947, allocations: 257.6 kB / 0.5172 GB, free: 11.51 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004378/0.499, allocations: 2.851 MB / 0.52 GB, free: 9.648 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.4991, allocations: 33.5 kB / 0.52 GB, free: 9.609 MB / 382.1 MB Notification: Performance of pre-optimization done (n=42): time 1.623e-06/0.4991, allocations: 3.188 kB / 0.52 GB, free: 9.609 MB / 382.1 MB Notification: Performance of matching and sorting (n=56): time 0.01513/0.5142, allocations: 2.816 MB / 0.5228 GB, free: 9.023 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/0.5142, allocations: 62.34 kB / 0.5228 GB, free: 8.957 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000627/0.5149, allocations: 411 kB / 0.5232 GB, free: 8.832 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.09e-05/0.5149, allocations: 34.23 kB / 0.5233 GB, free: 8.801 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002236/0.5152, allocations: 369.5 kB / 0.5236 GB, free: 8.578 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001751/0.5153, allocations: 208.2 kB / 0.5238 GB, free: 8.445 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002325/0.5156, allocations: 144.2 kB / 0.524 GB, free: 8.422 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.5157, allocations: 366.2 kB / 0.5243 GB, free: 8.105 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003779/0.516, allocations: 205.8 kB / 0.5245 GB, free: 8.105 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005585/0.5166, allocations: 462.5 kB / 0.5249 GB, free: 7.801 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009511/0.5176, allocations: 0.7241 MB / 0.5256 GB, free: 7.266 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/0.5176, allocations: 2.375 kB / 0.5256 GB, free: 7.266 MB / 382.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.004568/0.5221, allocations: 1.134 MB / 0.5268 GB, free: 6.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.837e-05/0.5222, allocations: 9.25 kB / 0.5268 GB, free: 6.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.801e-05/0.5222, allocations: 8.281 kB / 0.5268 GB, free: 6.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003377/0.5256, allocations: 444.3 kB / 0.5272 GB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006048/0.5262, allocations: 160.8 kB / 0.5273 GB, free: 6.824 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007229/0.5334, allocations: 4.646 MB / 0.5319 GB, free: 3.031 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007488/0.5341, allocations: 25.28 kB / 0.5319 GB, free: 3.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.156e-05/0.5342, allocations: 43.89 kB / 0.5319 GB, free: 3.012 MB / 382.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.0003712/0.5346, allocations: 209.9 kB / 0.5322 GB, free: 2.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001373/0.5347, allocations: 60.5 kB / 0.5322 GB, free: 2.805 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005156/0.5399, allocations: 1.091 MB / 0.5333 GB, free: 2.41 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.226e-05/0.5399, allocations: 6.297 kB / 0.5333 GB, free: 2.41 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/0.5399, allocations: 2.625 kB / 0.5333 GB, free: 2.41 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.414e-05/0.5399, allocations: 6.578 kB / 0.5333 GB, free: 2.406 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006378/0.5463, allocations: 1.795 MB / 0.535 GB, free: 1.555 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.446e-06/0.5463, allocations: 6.188 kB / 0.535 GB, free: 1.551 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003546/0.5467, allocations: 92.78 kB / 0.5351 GB, free: 1.543 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00422/0.5509, allocations: 0.5051 MB / 0.5356 GB, free: 1.449 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.269e-05/0.551, allocations: 22.16 kB / 0.5356 GB, free: 1.441 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008986/0.5599, allocations: 5.968 MB / 0.5415 GB, free: 12.26 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.394e-06/0.56, allocations: 2.312 kB / 0.5415 GB, free: 12.26 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005643/0.5656, allocations: 1.4 MB / 0.5428 GB, free: 11.62 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002863/0.5659, allocations: 124.6 kB / 0.543 GB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.257e-05/0.566, allocations: 12.41 kB / 0.543 GB, free: 11.49 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003471/0.5663, allocations: 14.25 kB / 0.543 GB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002/0.5665, allocations: 63.91 kB / 0.5431 GB, free: 11.47 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.204e-05/0.5666, allocations: 29.11 kB / 0.5431 GB, free: 11.46 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004033/0.567, allocations: 268.6 kB / 0.5433 GB, free: 11.32 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.567, allocations: 0 / 0.5433 GB, free: 11.32 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001809/0.5688, allocations: 407.3 kB / 0.5437 GB, free: 11.23 MB / 398.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.001009/0.5698, allocations: 472.3 kB / 0.5442 GB, free: 11.05 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002008/0.5718, allocations: 0.8663 MB / 0.545 GB, free: 10.61 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.8e-06/0.5718, allocations: 5.438 kB / 0.545 GB, free: 10.61 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001292/0.5731, allocations: 0.7047 MB / 0.5457 GB, free: 10.14 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009192/0.574, allocations: 147.2 kB / 0.5459 GB, free: 10.09 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002695/0.5767, allocations: 1.342 MB / 0.5472 GB, free: 9.324 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006008/0.5773, allocations: 0.8939 MB / 0.548 GB, free: 8.613 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004846/0.5778, allocations: 129.8 kB / 0.5482 GB, free: 8.562 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002002/0.578, allocations: 100.9 kB / 0.5483 GB, free: 8.551 MB / 398.1 MB Notification: Performance of SimCode: time 1.222e-06/0.578, allocations: 0 / 0.5483 GB, free: 8.551 MB / 398.1 MB Notification: Performance of Templates: time 0.03064/0.6086, allocations: 16.19 MB / 0.5641 GB, free: 11.41 MB / 414.1 MB " [Timeout remaining time 659] 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: 6.374262001365423]