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.0009443/0.0009443, allocations: 86.05 kB / 19.87 MB, free: 4.617 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.0009665/0.0009665, allocations: 170 kB / 23.27 MB, free: 1.223 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.002/1.002, allocations: 177.2 MB / 203.7 MB, free: 5.496 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.08712/0.08712, allocations: 17.38 MB / 277.6 MB, free: 11.48 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 1.843e-06/1.843e-06, allocations: 0 / 353.9 MB, free: 9.723 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.303e-05/2.488e-05, allocations: 6.312 kB / 353.9 MB, free: 9.715 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfAlcohol): time 0.004239/0.004264, allocations: 4.257 MB / 358.1 MB, free: 5.43 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.006984/0.01125, allocations: 8.412 MB / 366.5 MB, free: 12.98 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004685/0.01172, allocations: 11.88 kB / 366.5 MB, free: 12.97 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000484/0.0122, allocations: 170.7 kB / 366.7 MB, free: 12.8 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001604/0.0138, allocations: 0.8144 MB / 367.5 MB, free: 11.98 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001983/0.01579, allocations: 1.048 MB / 368.6 MB, free: 10.93 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001179/0.01697, allocations: 0.9196 MB / 369.5 MB, free: 10 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004803/0.01745, allocations: 429 kB / 369.9 MB, free: 9.586 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005512/0.018, allocations: 0.6239 MB / 370.5 MB, free: 8.961 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004508/0.01845, allocations: 395.1 kB / 370.9 MB, free: 8.574 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.841e-05/0.01854, allocations: 76 kB / 371 MB, free: 8.5 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001658/0.0202, allocations: 0.8694 MB / 371.9 MB, free: 7.629 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001444/0.02034, allocations: 183.4 kB / 372.1 MB, free: 7.449 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002059/0.02055, allocations: 299.3 kB / 372.3 MB, free: 7.156 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002229/0.02277, allocations: 1.642 MB / 374 MB, free: 5.508 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.02278, allocations: 0 / 374 MB, free: 5.508 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.02278, allocations: 0 / 374 MB, free: 5.508 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.596e-06/0.02279, allocations: 0 / 374 MB, free: 5.508 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.001328/0.02412, allocations: 1.204 MB / 375.2 MB, free: 4.262 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.02415, allocations: 12.02 kB / 375.2 MB, free: 4.25 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004847/0.02464, allocations: 255.6 kB / 375.4 MB, free: 4 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004418/0.02508, allocations: 407.9 kB / 375.8 MB, free: 3.57 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.245e-05/0.02511, allocations: 50.38 kB / 375.9 MB, free: 3.523 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.252e-05/0.02519, allocations: 68.38 kB / 376 MB, free: 3.457 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000797/0.02598, allocations: 0.5692 MB / 376.5 MB, free: 2.871 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.026, allocations: 192 / 376.5 MB, free: 2.871 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.273e-05/0.02604, allocations: 28.38 kB / 376.6 MB, free: 2.844 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.02605, allocations: 19.94 kB / 376.6 MB, free: 2.824 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005198/0.02657, allocations: 0.5015 MB / 377.1 MB, free: 2.324 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.002017/0.02859, allocations: 1.795 MB / 378.9 MB, free: 488 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008503/0.02944, allocations: 0.796 MB / 379.7 MB, free: 15.67 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001549/0.02959, allocations: 174 kB / 379.8 MB, free: 15.49 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001872/0.03146, allocations: 1.585 MB / 381.4 MB, free: 13.89 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.03149, allocations: 45.33 kB / 381.5 MB, free: 13.84 MB / 314.7 MB Notification: Performance of pre-optimization done (n=42): time 1.683e-06/0.03149, allocations: 0 / 381.5 MB, free: 13.84 MB / 314.7 MB Notification: Performance of matching and sorting (n=56): time 0.006498/0.03799, allocations: 2.262 MB / 383.7 MB, free: 11.52 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.873e-05/0.03802, allocations: 55.91 kB / 383.8 MB, free: 11.45 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002565/0.03828, allocations: 434.2 kB / 384.2 MB, free: 11.01 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.126e-05/0.03831, allocations: 37.7 kB / 384.3 MB, free: 10.96 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001799/0.03849, allocations: 430.7 kB / 384.7 MB, free: 10.54 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001125/0.0386, allocations: 202.2 kB / 384.9 MB, free: 10.34 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001351/0.03874, allocations: 148.2 kB / 385 MB, free: 10.19 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.03888, allocations: 0.539 MB / 385.6 MB, free: 9.637 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001329/0.03901, allocations: 122.6 kB / 385.7 MB, free: 9.512 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002923/0.0393, allocations: 478.7 kB / 386.1 MB, free: 8.895 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004808/0.03978, allocations: 0.6462 MB / 386.8 MB, free: 8.094 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/0.03979, allocations: 8 kB / 386.8 MB, free: 8.086 MB / 314.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001954/0.04174, allocations: 0.9333 MB / 387.7 MB, free: 7.137 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.04176, allocations: 12 kB / 387.7 MB, free: 7.125 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/0.04177, allocations: 8 kB / 387.7 MB, free: 7.117 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002386/0.04416, allocations: 0.6512 MB / 388.4 MB, free: 6.457 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002806/0.04444, allocations: 159.8 kB / 388.6 MB, free: 6.301 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004064/0.0485, allocations: 4.793 MB / 393.3 MB, free: 1.285 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000338/0.04884, allocations: 24 kB / 393.4 MB, free: 1.262 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.808e-05/0.04889, allocations: 43.92 kB / 393.4 MB, free: 1.219 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.0002109/0.0491, allocations: 208.3 kB / 393.6 MB, free: 1.004 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001088/0.04921, allocations: 67.77 kB / 393.7 MB, free: 0.9375 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00216/0.05137, allocations: 0.9 MB / 394.6 MB, free: 12 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.134e-06/0.05138, allocations: 11.94 kB / 394.6 MB, free: 0 / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.05138, allocations: 0 / 394.6 MB, free: 0 / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.393e-05/0.05141, allocations: 4.047 kB / 394.6 MB, free: 15.99 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00271/0.05412, allocations: 1.475 MB / 396.1 MB, free: 14.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-06/0.05412, allocations: 4 kB / 396.1 MB, free: 14.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001739/0.05429, allocations: 92.12 kB / 396.2 MB, free: 14.34 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002973/0.05727, allocations: 0.7871 MB / 397 MB, free: 13.54 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.485e-05/0.05731, allocations: 23.98 kB / 397 MB, free: 13.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004611/0.06192, allocations: 6.463 MB / 403.4 MB, free: 6.707 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.06193, allocations: 4 kB / 403.4 MB, free: 6.703 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002412/0.06434, allocations: 1.154 MB / 404.6 MB, free: 5.488 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003754/0.06471, allocations: 43.67 kB / 404.6 MB, free: 5.445 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.457e-05/0.06476, allocations: 12 kB / 404.7 MB, free: 5.434 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001586/0.06492, allocations: 15.98 kB / 404.7 MB, free: 5.418 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.06503, allocations: 68.27 kB / 404.7 MB, free: 5.352 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.188e-05/0.06506, allocations: 20 kB / 404.8 MB, free: 5.332 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001531/0.06522, allocations: 255 kB / 405 MB, free: 5.086 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.06522, allocations: 0 / 405 MB, free: 5.086 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009941/0.06621, allocations: 403.1 kB / 405.4 MB, free: 4.691 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.0006184/0.06683, allocations: 497.9 kB / 405.9 MB, free: 4.191 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009386/0.06777, allocations: 0.849 MB / 406.7 MB, free: 3.316 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.06777, allocations: 4.062 kB / 406.7 MB, free: 3.312 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006305/0.0684, allocations: 0.8176 MB / 407.6 MB, free: 2.438 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005239/0.06892, allocations: 154.5 kB / 407.7 MB, free: 2.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.00183/0.07076, allocations: 1.218 MB / 408.9 MB, free: 1.004 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001159/0.07087, allocations: 147.2 kB / 409.1 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003052/0.07118, allocations: 127.6 kB / 409.2 MB, free: 0.7188 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002957/0.07147, allocations: 260.8 kB / 409.4 MB, free: 476 kB / 330.7 MB Notification: Performance of SimCode: time 1.593e-06/0.07147, allocations: 0 / 409.4 MB, free: 476 kB / 330.7 MB Notification: Performance of Templates: time 0.1329/0.2044, allocations: 18.77 MB / 428.2 MB, free: 49.96 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.41367811197415]