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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.HeatingOfAlcohol") translateModel(Chemical.Examples.HeatingOfAlcohol,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.HeatingOfAlcohol") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 114.7 kB / 16.42 MB, free: 6.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 190 kB / 17.35 MB, free: 5.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.272/1.272, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.0748/0.0748, allocations: 15.31 MB / 306.5 MB, free: 15.4 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 59.91 kB / 425.8 MB, free: 11.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08523/0.08642, allocations: 53.61 MB / 479.5 MB, free: 5.797 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.HeatingOfAlcohol): time 0.004769/0.09122, allocations: 4.243 MB / 483.7 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008896/0.1001, allocations: 8.682 MB / 492.4 MB, free: 8.812 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003697/0.1005, allocations: 11.94 kB / 492.4 MB, free: 8.801 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005156/0.1011, allocations: 186.5 kB / 492.6 MB, free: 8.617 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001618/0.1027, allocations: 0.7758 MB / 493.4 MB, free: 7.836 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002514/0.1052, allocations: 1.002 MB / 494.4 MB, free: 6.828 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001003/0.1063, allocations: 0.885 MB / 495.2 MB, free: 5.938 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005635/0.1068, allocations: 0.504 MB / 495.7 MB, free: 5.426 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004192/0.1073, allocations: 446.8 kB / 496.2 MB, free: 4.988 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005411/0.1078, allocations: 474.3 kB / 496.6 MB, free: 4.523 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001112/0.1079, allocations: 80 kB / 496.7 MB, free: 4.445 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001896/0.1098, allocations: 0.8933 MB / 497.6 MB, free: 3.551 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001641/0.11, allocations: 179.4 kB / 497.8 MB, free: 3.375 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003432/0.1104, allocations: 414.1 kB / 498.2 MB, free: 2.969 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002068/0.1124, allocations: 1.787 MB / 500 MB, free: 1.176 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1125, allocations: 0 / 500 MB, free: 1.176 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1125, allocations: 0 / 500 MB, free: 1.176 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.051e-05/0.1125, allocations: 0 / 500 MB, free: 1.176 MB / 366.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.001773/0.1143, allocations: 1.15 MB / 0.4894 GB, free: 15.97 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.1143, allocations: 8.031 kB / 0.4894 GB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006177/0.1149, allocations: 151.7 kB / 0.4895 GB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006463/0.1156, allocations: 459.4 kB / 0.49 GB, free: 15.33 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.801e-05/0.1156, allocations: 50.38 kB / 0.49 GB, free: 15.28 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001105/0.1157, allocations: 68.38 kB / 0.4901 GB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00117/0.1169, allocations: 0.759 MB / 0.4908 GB, free: 14.44 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.1169, allocations: 7.938 kB / 0.4908 GB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.91e-05/0.117, allocations: 28 kB / 0.4909 GB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.414e-05/0.117, allocations: 16 kB / 0.4909 GB, free: 14.39 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00129/0.1183, allocations: 0.8784 MB / 0.4917 GB, free: 13.52 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.003346/0.1217, allocations: 2.33 MB / 0.494 GB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00161/0.1233, allocations: 1.03 MB / 0.495 GB, free: 9.988 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004185/0.1237, allocations: 291.8 kB / 0.4953 GB, free: 9.695 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00371/0.1275, allocations: 2.86 MB / 0.4981 GB, free: 6.508 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.1275, allocations: 38.5 kB / 0.4981 GB, free: 6.461 MB / 382.1 MB Notification: Performance of pre-optimization done (n=42): time 2.054e-06/0.1275, allocations: 0 / 0.4981 GB, free: 6.461 MB / 382.1 MB Notification: Performance of matching and sorting (n=56): time 0.01521/0.1427, allocations: 2.813 MB / 0.5009 GB, free: 3.562 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.1e-05/0.1428, allocations: 59.97 kB / 0.5009 GB, free: 3.492 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004487/0.1432, allocations: 405.7 kB / 0.5013 GB, free: 3.09 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.563e-05/0.1433, allocations: 33.69 kB / 0.5013 GB, free: 3.051 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002141/0.1435, allocations: 363 kB / 0.5017 GB, free: 2.691 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001507/0.1437, allocations: 197.2 kB / 0.5019 GB, free: 2.496 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001941/0.1439, allocations: 142.6 kB / 0.502 GB, free: 2.352 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.144, allocations: 370.7 kB / 0.5024 GB, free: 1.98 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003577/0.1444, allocations: 205.9 kB / 0.5026 GB, free: 1.777 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00049/0.1449, allocations: 462.2 kB / 0.503 GB, free: 1.215 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009176/0.1458, allocations: 0.7173 MB / 0.5037 GB, free: 392 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.1458, allocations: 4 kB / 0.5037 GB, free: 388 kB / 382.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.1883/0.3342, allocations: 1.14 MB / 0.5048 GB, free: 34.38 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.637e-05/0.3342, allocations: 8.125 kB / 0.5048 GB, free: 34.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.474e-05/0.3342, allocations: 12.09 kB / 0.5048 GB, free: 34.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003508/0.3378, allocations: 439.3 kB / 0.5053 GB, free: 34.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004663/0.3382, allocations: 162.2 kB / 0.5054 GB, free: 34.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006506/0.3448, allocations: 4.63 MB / 0.5099 GB, free: 31.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004819/0.3453, allocations: 25.08 kB / 0.51 GB, free: 31.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.528e-05/0.3453, allocations: 43.45 kB / 0.51 GB, free: 31.23 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.0002494/0.3456, allocations: 206.9 kB / 0.5102 GB, free: 31.06 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/0.3457, allocations: 57.44 kB / 0.5103 GB, free: 31.06 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00509/0.3508, allocations: 1.095 MB / 0.5113 GB, free: 30.7 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.3508, allocations: 3.094 kB / 0.5113 GB, free: 30.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.3508, allocations: 3.625 kB / 0.5113 GB, free: 30.7 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.175e-05/0.3509, allocations: 120.2 kB / 0.5114 GB, free: 30.6 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.368e-05/0.351, allocations: 11.47 kB / 0.5115 GB, free: 30.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003159/0.3513, allocations: 16.16 kB / 0.5115 GB, free: 30.58 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001229/0.3514, allocations: 58.03 kB / 0.5115 GB, free: 30.58 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00235/0.3538, allocations: 0.8294 MB / 0.5123 GB, free: 30.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001068/0.3549, allocations: 0.9042 MB / 0.5132 GB, free: 29.73 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002939/0.3552, allocations: 201.3 kB / 0.5134 GB, free: 29.66 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002645/0.3554, allocations: 267.6 kB / 0.5137 GB, free: 29.52 MB / 382.1 MB Notification: Performance of Backend: time 9.32e-07/0.3555, allocations: 0 / 0.5137 GB, free: 29.52 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002661/0.3581, allocations: 1.239 MB / 0.5149 GB, free: 29.02 MB / 382.1 MB Notification: Performance of SimCode: time 0.002747/0.3609, allocations: 1.78 MB / 0.5166 GB, free: 27.88 MB / 382.1 MB Notification: Performance of Templates: time 0.02128/0.3822, allocations: 15.85 MB / 0.5321 GB, free: 21.87 MB / 382.1 MB make -j1 -f Chemical_Chemical.Examples.HeatingOfAlcohol.makefile (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)