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.0907/0.0907, allocations: 15.25 MB / 27.81 MB, free: 5.398 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 192.4 kB / 32.7 MB, free: 0.5117 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.36/1.36, allocations: 221.4 MB / 258.8 MB, free: 4 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008605/0.000861, allocations: 92.91 kB / 314 MB, free: 15.75 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.301e-05/3.305e-05, allocations: 0 / 376.5 MB, free: 1.426 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.359/0.3591, allocations: 54.61 MB / 431.1 MB, free: 50.07 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1224/0.4815, allocations: 94.95 MB / 0.5137 GB, free: 4.328 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002632/0.4819, allocations: 65 kB / 0.5138 GB, free: 4.266 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03949/0.5214, allocations: 15.65 MB / 0.5291 GB, free: 4.762 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.704e-06/0.5214, allocations: 0 / 0.5291 GB, free: 4.762 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.975e-05/0.5215, allocations: 8 kB / 0.5291 GB, free: 4.754 MB / 394.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.001014/0.5225, allocations: 0.6498 MB / 0.5297 GB, free: 4.059 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.5226, allocations: 8.031 kB / 0.5297 GB, free: 4.051 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005139/0.5231, allocations: 133.9 kB / 0.5298 GB, free: 3.922 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004643/0.5236, allocations: 324.5 kB / 0.5301 GB, free: 3.566 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.045e-05/0.5236, allocations: 12.44 kB / 0.5302 GB, free: 3.555 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.565e-05/0.5236, allocations: 23.95 kB / 0.5302 GB, free: 3.531 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008368/0.5245, allocations: 0.6697 MB / 0.5308 GB, free: 2.832 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.5245, allocations: 4 kB / 0.5308 GB, free: 2.828 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.038e-05/0.5245, allocations: 8 kB / 0.5308 GB, free: 2.82 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.687e-05/0.5246, allocations: 8 kB / 0.5309 GB, free: 2.812 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001369/0.5259, allocations: 1.176 MB / 0.532 GB, free: 1.637 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002807/0.5288, allocations: 2.322 MB / 0.5343 GB, free: 15.24 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.449e-05/0.5289, allocations: 46.56 kB / 0.5343 GB, free: 15.19 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.541e-05/0.5289, allocations: 28.97 kB / 0.5343 GB, free: 15.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.5289, allocations: 4 kB / 0.5343 GB, free: 15.15 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/0.529, allocations: 38.5 kB / 0.5344 GB, free: 15.11 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 2.275e-06/0.529, allocations: 0 / 0.5344 GB, free: 15.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002397/0.5292, allocations: 101.3 kB / 0.5345 GB, free: 15 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.908e-05/0.5293, allocations: 55.41 kB / 0.5345 GB, free: 14.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001327/0.5306, allocations: 1.335 MB / 0.5358 GB, free: 13.59 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.5306, allocations: 25.7 kB / 0.5359 GB, free: 13.56 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000162/0.5308, allocations: 259 kB / 0.5361 GB, free: 13.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.003e-05/0.5308, allocations: 25.81 kB / 0.5361 GB, free: 13.28 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.756e-05/0.5309, allocations: 4 kB / 0.5361 GB, free: 13.27 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.531, allocations: 350.8 kB / 0.5365 GB, free: 12.92 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004113/0.5314, allocations: 411.8 kB / 0.5369 GB, free: 12.52 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005002/0.5319, allocations: 0.5503 MB / 0.5374 GB, free: 11.9 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004663/0.5324, allocations: 440.9 kB / 0.5378 GB, free: 11.47 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.7e-06/0.5324, allocations: 4 kB / 0.5378 GB, free: 11.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001171/0.5336, allocations: 1.008 MB / 0.5388 GB, free: 10.45 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.5336, allocations: 4 kB / 0.5388 GB, free: 10.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.5336, allocations: 8.688 kB / 0.5388 GB, free: 10.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.265e-05/0.5336, allocations: 8 kB / 0.5388 GB, free: 10.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003048/0.534, allocations: 90 kB / 0.5389 GB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.157e-05/0.534, allocations: 7.938 kB / 0.5389 GB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003603/0.5344, allocations: 47.53 kB / 0.539 GB, free: 10.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.866e-05/0.5344, allocations: 19.98 kB / 0.539 GB, free: 10.27 MB / 410.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.61e-05/0.5345, allocations: 124.8 kB / 0.5391 GB, free: 10.14 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.929e-05/0.5346, allocations: 35.53 kB / 0.5391 GB, free: 10.11 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000223/0.5348, allocations: 120.5 kB / 0.5393 GB, free: 9.98 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.5348, allocations: 4 kB / 0.5393 GB, free: 9.977 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.5348, allocations: 0 / 0.5393 GB, free: 9.977 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.5348, allocations: 0 / 0.5393 GB, free: 9.977 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007186/0.5356, allocations: 0.6742 MB / 0.5399 GB, free: 9.227 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.5356, allocations: 8.188 kB / 0.5399 GB, free: 9.219 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.709e-05/0.5356, allocations: 17.47 kB / 0.5399 GB, free: 9.203 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.5357, allocations: 4 kB / 0.5399 GB, free: 9.199 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.6e-05/0.5357, allocations: 3.984 kB / 0.5399 GB, free: 9.195 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.59e-06/0.5357, allocations: 9.641 kB / 0.54 GB, free: 9.188 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.5357, allocations: 0 / 0.54 GB, free: 9.188 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002316/0.536, allocations: 229.4 kB / 0.5402 GB, free: 8.898 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001461/0.5361, allocations: 152.6 kB / 0.5403 GB, free: 8.73 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.914e-05/0.5362, allocations: 8 kB / 0.5403 GB, free: 8.723 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001443/0.5363, allocations: 8 kB / 0.5403 GB, free: 8.715 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.718e-05/0.5364, allocations: 7.938 kB / 0.5403 GB, free: 8.707 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-06/0.5364, allocations: 4 kB / 0.5403 GB, free: 8.703 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009871/0.5374, allocations: 1.067 MB / 0.5414 GB, free: 7.641 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5374, allocations: 0 / 0.5414 GB, free: 7.641 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007275/0.5381, allocations: 239.7 kB / 0.5416 GB, free: 7.406 MB / 410.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.000664/0.5388, allocations: 382.7 kB / 0.542 GB, free: 7.027 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006528/0.5394, allocations: 0.495 MB / 0.5425 GB, free: 6.535 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.5394, allocations: 0.75 kB / 0.5425 GB, free: 6.535 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.541e-05/0.5395, allocations: 28.3 kB / 0.5425 GB, free: 6.508 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004846/0.54, allocations: 88.53 kB / 0.5426 GB, free: 6.426 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006116/0.5406, allocations: 343.2 kB / 0.5429 GB, free: 6.055 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.541, allocations: 0.7797 MB / 0.5437 GB, free: 5.246 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002389/0.5412, allocations: 85.02 kB / 0.5437 GB, free: 5.176 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.613e-05/0.5413, allocations: 35.42 kB / 0.5438 GB, free: 5.141 MB / 410.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5413, allocations: 0 / 0.5438 GB, free: 5.141 MB / 410.7 MB Notification: Performance of Templates: time 0.01397/0.5553, allocations: 8.446 MB / 0.552 GB, free: 12.8 MB / 426.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)