Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.ExothermicReaction.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.ExothermicReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.ExothermicReaction") translateModel(Chemical.Examples.ExothermicReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.ExothermicReaction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 115.2 kB / 16.42 MB, free: 6.449 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.001161/0.001161, allocations: 183.9 kB / 17.35 MB, free: 5.738 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.285/1.285, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.07448/0.07448, allocations: 15.31 MB / 306.5 MB, free: 15.43 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 63.91 kB / 425.9 MB, free: 11.47 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08826/0.08948, allocations: 53.62 MB / 479.5 MB, free: 5.797 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.ExothermicReaction): time 0.009028/0.09855, allocations: 8.549 MB / 488 MB, free: 13.21 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02369/0.1223, allocations: 23.25 MB / 0.4993 GB, free: 5.867 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001034/0.1233, allocations: 23.88 kB / 0.4993 GB, free: 5.844 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001296/0.1246, allocations: 0.5079 MB / 0.4998 GB, free: 5.332 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00467/0.1293, allocations: 2.001 MB / 0.5018 GB, free: 3.316 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006966/0.1363, allocations: 3.006 MB / 0.5047 GB, free: 300 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.1896/0.3259, allocations: 2.492 MB / 0.5071 GB, free: 5.492 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001512/0.3274, allocations: 1.427 MB / 0.5085 GB, free: 5.32 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001279/0.3287, allocations: 1.227 MB / 0.5097 GB, free: 5.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001685/0.3304, allocations: 1.357 MB / 0.511 GB, free: 5.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003218/0.3308, allocations: 214.6 kB / 0.5113 GB, free: 5.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006582/0.3373, allocations: 2.6 MB / 0.5138 GB, free: 5.156 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004257/0.3378, allocations: 0.5136 MB / 0.5143 GB, free: 5.086 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009527/0.3387, allocations: 1.09 MB / 0.5154 GB, free: 4.812 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007173/0.3459, allocations: 5.026 MB / 0.5203 GB, free: 4.383 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3459, allocations: 1.156 kB / 0.5203 GB, free: 4.383 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3459, allocations: 0 / 0.5203 GB, free: 4.383 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.425e-05/0.346, allocations: 0 / 0.5203 GB, free: 4.383 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: 455 * Number of variables: 455 Notification: Performance of Generate backend data structure: time 0.004687/0.3507, allocations: 2.659 MB / 0.5229 GB, free: 3.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.3507, allocations: 8.875 kB / 0.5229 GB, free: 3.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001682/0.3524, allocations: 417.1 kB / 0.5233 GB, free: 3.031 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001308/0.3537, allocations: 0.9548 MB / 0.5242 GB, free: 2.496 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001376/0.3539, allocations: 194.2 kB / 0.5244 GB, free: 2.371 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002703/0.3542, allocations: 183.2 kB / 0.5246 GB, free: 2.309 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002953/0.3571, allocations: 2.089 MB / 0.5266 GB, free: 1.504 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.216e-05/0.3572, allocations: 0 / 0.5266 GB, free: 1.504 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001813/0.3573, allocations: 76.47 kB / 0.5267 GB, free: 1.445 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.986e-05/0.3574, allocations: 41.88 kB / 0.5267 GB, free: 1.445 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003351/0.3607, allocations: 2.585 MB / 0.5292 GB, free: 0.7031 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.008629/0.3694, allocations: 6.33 MB / 0.5354 GB, free: 13.28 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004574/0.374, allocations: 2.544 MB / 0.5379 GB, free: 12.13 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001135/0.3751, allocations: 0.851 MB / 0.5387 GB, free: 11.7 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01027/0.3854, allocations: 8.067 MB / 0.5466 GB, free: 2.828 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.3854, allocations: 43.69 kB / 0.5467 GB, free: 2.777 MB / 398.1 MB Notification: Performance of pre-optimization done (n=122): time 2.514e-06/0.3854, allocations: 0 / 0.5467 GB, free: 2.777 MB / 398.1 MB Notification: Performance of matching and sorting (n=150): time 0.02625/0.4117, allocations: 6.185 MB / 0.5527 GB, free: 12.46 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/0.4118, allocations: 94.42 kB / 0.5528 GB, free: 12.35 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001087/0.4128, allocations: 0.9412 MB / 0.5537 GB, free: 11.39 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001008/0.413, allocations: 49.7 kB / 0.5538 GB, free: 11.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005112/0.4135, allocations: 0.8311 MB / 0.5546 GB, free: 10.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004016/0.4139, allocations: 0.5189 MB / 0.5551 GB, free: 9.98 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004851/0.4144, allocations: 367.3 kB / 0.5554 GB, free: 9.613 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.2e-05/0.4145, allocations: 302.4 kB / 0.5557 GB, free: 9.316 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009429/0.4154, allocations: 0.5383 MB / 0.5562 GB, free: 8.777 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001407/0.4168, allocations: 1.246 MB / 0.5575 GB, free: 7.203 MB / 414.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: solution_at_constant_temperature.temperature = solution_at_constant_temperature.temperature_start (fixedTemperature.T = solution_at_constant_temperature.temperature_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002692/0.4195, allocations: 2.043 MB / 0.5594 GB, free: 4.914 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.185e-05/0.4196, allocations: 4 kB / 0.5595 GB, free: 4.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.007949/0.4275, allocations: 2.537 MB / 0.5619 GB, free: 2.504 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.869e-05/0.4276, allocations: 22.47 kB / 0.562 GB, free: 2.484 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.69e-05/0.4276, allocations: 24 kB / 0.562 GB, free: 2.461 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00547/0.4331, allocations: 0.6991 MB / 0.5627 GB, free: 1.754 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001901/0.435, allocations: 0.5265 MB / 0.5632 GB, free: 1.258 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01184/0.4468, allocations: 8.258 MB / 0.5712 GB, free: 8.512 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00116/0.448, allocations: 71.94 kB / 0.5713 GB, free: 8.441 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001761/0.4482, allocations: 124 kB / 0.5714 GB, free: 8.32 MB / 430.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: solution_at_constant_temperature.temperature = solution_at_constant_temperature.temperature_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 107 * 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 (241): * Single equations (assignments): 237 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,6,77.8%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0006213/0.4488, allocations: 383.9 kB / 0.5718 GB, free: 7.973 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002757/0.4491, allocations: 142.2 kB / 0.5719 GB, free: 7.832 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008815/0.4579, allocations: 2.464 MB / 0.5743 GB, free: 5.32 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.815e-05/0.458, allocations: 7.969 kB / 0.5743 GB, free: 5.312 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.458, allocations: 0 / 0.5743 GB, free: 5.312 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002398/0.4582, allocations: 203.3 kB / 0.5745 GB, free: 5.094 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002122/0.4585, allocations: 35.92 kB / 0.5746 GB, free: 5.059 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007498/0.4592, allocations: 28 kB / 0.5746 GB, free: 5.031 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002707/0.4595, allocations: 121 kB / 0.5747 GB, free: 4.914 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00548/0.465, allocations: 1.819 MB / 0.5765 GB, free: 3.105 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003111/0.4681, allocations: 2.107 MB / 0.5785 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008501/0.469, allocations: 0.5589 MB / 0.5791 GB, free: 436 kB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008016/0.4698, allocations: 0.6303 MB / 0.5797 GB, free: 15.79 MB / 446.1 MB Notification: Performance of Backend: time 3.8e-07/0.4698, allocations: 0 / 0.5797 GB, free: 15.79 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006907/0.4767, allocations: 2.991 MB / 0.5826 GB, free: 12.98 MB / 446.1 MB Notification: Performance of SimCode: time 0.004605/0.4813, allocations: 3.377 MB / 0.5859 GB, free: 9.57 MB / 446.1 MB Notification: Performance of Templates: time 0.05573/0.5371, allocations: 40.35 MB / 0.6253 GB, free: 1.426 MB / 478.1 MB make -j1 -f Chemical_Chemical.Examples.ExothermicReaction.makefile (rm -f Chemical_Chemical.Examples.ExothermicReaction.pipe ; mkfifo Chemical_Chemical.Examples.ExothermicReaction.pipe ; head -c 1048576 < Chemical_Chemical.Examples.ExothermicReaction.pipe >> ../files/Chemical_Chemical.Examples.ExothermicReaction.sim & ./Chemical_Chemical.Examples.ExothermicReaction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.ExothermicReaction.pipe 2>&1)