Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo) Running command: translateModel(Chemical.Examples.CheckSubstancesData.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction") translateModel(Chemical.Examples.CheckSubstancesData.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo): time 0.1006/0.1006, allocations: 15.26 MB / 22.74 MB, free: 0.9688 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 185 kB / 27.52 MB, free: 6.113 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.543/1.543, allocations: 221.5 MB / 253.7 MB, free: 10.38 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000993/0.0009929, allocations: 102.2 kB / 308.8 MB, free: 10.46 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.83e-05/1.833e-05, allocations: 6.906 kB / 369.6 MB, free: 53.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1216, allocations: 54.63 MB / 424.2 MB, free: 13.84 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.442/0.5637, allocations: 94.28 MB / 0.5063 GB, free: 12.54 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002412/0.564, allocations: 69.52 kB / 0.5064 GB, free: 12.54 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03731/0.6013, allocations: 15.4 MB / 0.5215 GB, free: 27.25 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.6013, allocations: 4 kB / 0.5215 GB, free: 27.25 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.936e-05/0.6014, allocations: 7.75 kB / 0.5215 GB, free: 27.25 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0009343/0.6023, allocations: 0.6405 MB / 0.5221 GB, free: 26.74 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.6024, allocations: 11.67 kB / 0.5221 GB, free: 26.74 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004777/0.6028, allocations: 133.6 kB / 0.5222 GB, free: 26.71 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003749/0.6032, allocations: 331.4 kB / 0.5225 GB, free: 26.48 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.6033, allocations: 7.625 kB / 0.5225 GB, free: 26.48 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.54e-05/0.6033, allocations: 15.33 kB / 0.5226 GB, free: 26.47 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001028/0.6043, allocations: 1.159 MB / 0.5237 GB, free: 26.47 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005837/0.6049, allocations: 0.6113 MB / 0.5243 GB, free: 26.37 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.6049, allocations: 4 kB / 0.5243 GB, free: 26.36 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.612e-05/0.605, allocations: 0 / 0.5243 GB, free: 26.36 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.605, allocations: 7.75 kB / 0.5243 GB, free: 26.36 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002432/0.6074, allocations: 2.262 MB / 0.5265 GB, free: 25.57 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.623e-05/0.6075, allocations: 52 kB / 0.5266 GB, free: 25.55 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.255e-05/0.6076, allocations: 27.28 kB / 0.5266 GB, free: 25.54 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.6076, allocations: 0 / 0.5266 GB, free: 25.54 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.6076, allocations: 40.17 kB / 0.5266 GB, free: 25.5 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 9.72e-07/0.6076, allocations: 0 / 0.5266 GB, free: 25.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002103/0.6079, allocations: 92.52 kB / 0.5267 GB, free: 25.45 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.153e-05/0.6079, allocations: 57.95 kB / 0.5268 GB, free: 25.39 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001162/0.6091, allocations: 1.292 MB / 0.528 GB, free: 25.27 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.6091, allocations: 25.7 kB / 0.5281 GB, free: 25.24 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001625/0.6092, allocations: 259.7 kB / 0.5283 GB, free: 25.07 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.665e-05/0.6093, allocations: 22.3 kB / 0.5283 GB, free: 25.06 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.74e-05/0.6093, allocations: 0 / 0.5283 GB, free: 25.06 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.6094, allocations: 350.4 kB / 0.5287 GB, free: 24.75 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003222/0.6098, allocations: 408.5 kB / 0.5291 GB, free: 24.74 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004015/0.6102, allocations: 0.5455 MB / 0.5296 GB, free: 24.54 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001193/0.6114, allocations: 0.5408 MB / 0.5301 GB, free: 24.51 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.6114, allocations: 0 / 0.5301 GB, free: 24.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00154/0.6129, allocations: 1.076 MB / 0.5312 GB, free: 24.23 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.613, allocations: 7.859 kB / 0.5312 GB, free: 24.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.613, allocations: 7.625 kB / 0.5312 GB, free: 24.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.613, allocations: 8.312 kB / 0.5312 GB, free: 24.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002812/0.6133, allocations: 84.33 kB / 0.5313 GB, free: 24.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/0.6133, allocations: 11.62 kB / 0.5313 GB, free: 24.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002972/0.6136, allocations: 39.02 kB / 0.5313 GB, free: 24.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.165e-05/0.6137, allocations: 22.98 kB / 0.5313 GB, free: 24.17 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.466e-05/0.6138, allocations: 124.2 kB / 0.5315 GB, free: 24.05 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.834e-05/0.6138, allocations: 30.81 kB / 0.5315 GB, free: 24.04 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001862/0.614, allocations: 104.6 kB / 0.5316 GB, free: 23.98 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.614, allocations: 0 / 0.5316 GB, free: 23.98 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.614, allocations: 0 / 0.5316 GB, free: 23.98 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.614, allocations: 7.875 kB / 0.5316 GB, free: 23.98 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006085/0.6147, allocations: 0.6261 MB / 0.5322 GB, free: 23.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.6147, allocations: 3.875 kB / 0.5322 GB, free: 23.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.468e-05/0.6147, allocations: 11.62 kB / 0.5322 GB, free: 23.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.6147, allocations: 11.69 kB / 0.5322 GB, free: 23.47 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.6148, allocations: 3.984 kB / 0.5322 GB, free: 23.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.6148, allocations: 3.875 kB / 0.5322 GB, free: 23.46 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.6148, allocations: 0 / 0.5322 GB, free: 23.46 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001786/0.615, allocations: 221 kB / 0.5324 GB, free: 23.25 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001357/0.6151, allocations: 150.2 kB / 0.5326 GB, free: 23.12 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.45e-05/0.6152, allocations: 7.938 kB / 0.5326 GB, free: 23.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/0.6153, allocations: 7.938 kB / 0.5326 GB, free: 23.11 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.922e-05/0.6153, allocations: 11.61 kB / 0.5326 GB, free: 23.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-06/0.6153, allocations: 11.78 kB / 0.5326 GB, free: 23.09 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007575/0.6161, allocations: 1.025 MB / 0.5336 GB, free: 22.93 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6161, allocations: 0 / 0.5336 GB, free: 22.93 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006123/0.6167, allocations: 233.9 kB / 0.5339 GB, free: 22.88 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006541/0.6174, allocations: 376.8 kB / 0.5342 GB, free: 22.68 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005081/0.6179, allocations: 486.7 kB / 0.5347 GB, free: 22.62 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.6179, allocations: 7.812 kB / 0.5347 GB, free: 22.61 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.477e-05/0.618, allocations: 28.17 kB / 0.5347 GB, free: 22.61 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004403/0.6184, allocations: 79.16 kB / 0.5348 GB, free: 22.58 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005572/0.619, allocations: 326.7 kB / 0.5351 GB, free: 22.37 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003244/0.6193, allocations: 0.7775 MB / 0.5359 GB, free: 21.63 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002059/0.6195, allocations: 81.53 kB / 0.5359 GB, free: 21.59 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.457e-05/0.6196, allocations: 38.42 kB / 0.536 GB, free: 21.57 MB / 378.7 MB Notification: Performance of SimCode: time 2.11e-07/0.6196, allocations: 0 / 0.536 GB, free: 21.57 MB / 378.7 MB Notification: Performance of Templates: time 0.009412/0.629, allocations: 6.692 MB / 0.5425 GB, free: 18.28 MB / 378.7 MB make -j1 -f Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction.makefile (rm -f Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction.pipe ; mkfifo Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction.pipe ; head -c 1048576 < Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction.pipe >> ../files/Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction.sim & ./Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction.pipe 2>&1)