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.09941/0.09941, allocations: 15.26 MB / 30.21 MB, free: 3.297 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.0009961/0.0009961, allocations: 181.1 kB / 35.29 MB, free: 2.379 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.422/1.422, allocations: 223.2 MB / 263.4 MB, free: 7.027 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.0009194/0.0009194, allocations: 96.33 kB / 318.8 MB, free: 3.832 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003616/0.0003617, allocations: 12.28 kB / 383.9 MB, free: 50.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1173, allocations: 54.64 MB / 438.6 MB, free: 472 kB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4183/0.5356, allocations: 95.01 MB / 0.5211 GB, free: 15.58 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002319/0.5359, allocations: 69.67 kB / 0.5211 GB, free: 15.58 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0423/0.5782, allocations: 15.71 MB / 0.5365 GB, free: 30.31 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.5782, allocations: 0 / 0.5365 GB, free: 30.31 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.898e-05/0.5783, allocations: 11.3 kB / 0.5365 GB, free: 30.31 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.001076/0.5794, allocations: 0.6865 MB / 0.5372 GB, free: 29.77 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.5794, allocations: 7.594 kB / 0.5372 GB, free: 29.77 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004699/0.5799, allocations: 134.5 kB / 0.5373 GB, free: 29.74 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004051/0.5803, allocations: 329.4 kB / 0.5376 GB, free: 29.5 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.5803, allocations: 19.56 kB / 0.5376 GB, free: 29.5 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.477e-05/0.5804, allocations: 26.39 kB / 0.5377 GB, free: 29.49 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007555/0.5811, allocations: 0.6693 MB / 0.5383 GB, free: 29.39 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.5811, allocations: 3.938 kB / 0.5383 GB, free: 29.39 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.985e-05/0.5812, allocations: 10.44 kB / 0.5383 GB, free: 29.39 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.5812, allocations: 5.688 kB / 0.5383 GB, free: 29.39 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001172/0.5824, allocations: 1.187 MB / 0.5395 GB, free: 29.38 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002483/0.5849, allocations: 2.31 MB / 0.5417 GB, free: 28.56 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.933e-05/0.585, allocations: 51.78 kB / 0.5418 GB, free: 28.54 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.585, allocations: 7.812 kB / 0.5418 GB, free: 28.53 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.922e-05/0.585, allocations: 34.19 kB / 0.5418 GB, free: 28.49 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.853e-06/0.585, allocations: 0 / 0.5418 GB, free: 28.49 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002547/0.5853, allocations: 126.6 kB / 0.5419 GB, free: 28.44 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.943e-05/0.5853, allocations: 55.41 kB / 0.542 GB, free: 28.38 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001104/0.5865, allocations: 1.335 MB / 0.5433 GB, free: 28.26 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.5865, allocations: 25.7 kB / 0.5433 GB, free: 28.23 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001322/0.5866, allocations: 258 kB / 0.5436 GB, free: 28.07 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.612e-05/0.5866, allocations: 22.33 kB / 0.5436 GB, free: 28.06 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.987e-05/0.5867, allocations: 7.75 kB / 0.5436 GB, free: 28.06 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.5868, allocations: 346.6 kB / 0.5439 GB, free: 27.74 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003234/0.5871, allocations: 413.9 kB / 0.5443 GB, free: 27.74 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000379/0.5875, allocations: 0.5543 MB / 0.5449 GB, free: 27.55 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003761/0.5879, allocations: 448.5 kB / 0.5453 GB, free: 27.54 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.5879, allocations: 3.875 kB / 0.5453 GB, free: 27.54 MB / 394.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009956/0.5889, allocations: 1.011 MB / 0.5463 GB, free: 27.45 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.589, allocations: 8.375 kB / 0.5463 GB, free: 27.45 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/0.589, allocations: 3.906 kB / 0.5463 GB, free: 27.45 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.145e-05/0.589, allocations: 15.16 kB / 0.5463 GB, free: 27.45 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003085/0.5893, allocations: 83.66 kB / 0.5464 GB, free: 27.44 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.5893, allocations: 11.8 kB / 0.5464 GB, free: 27.43 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003655/0.5897, allocations: 50.22 kB / 0.5465 GB, free: 27.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.444e-05/0.5897, allocations: 19.05 kB / 0.5465 GB, free: 27.41 MB / 394.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 () * Number of clocked 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 0.000161/0.5899, allocations: 158.6 kB / 0.5466 GB, free: 27.28 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.526e-05/0.59, allocations: 35.12 kB / 0.5467 GB, free: 27.26 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001897/0.5902, allocations: 118 kB / 0.5468 GB, free: 27.23 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.5902, allocations: 4 kB / 0.5468 GB, free: 27.22 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.5902, allocations: 0 / 0.5468 GB, free: 27.22 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.5902, allocations: 3.422 kB / 0.5468 GB, free: 27.22 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006419/0.5908, allocations: 0.6714 MB / 0.5474 GB, free: 26.79 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.5909, allocations: 11.91 kB / 0.5474 GB, free: 26.78 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.87e-05/0.5909, allocations: 15.78 kB / 0.5475 GB, free: 26.78 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.5909, allocations: 0 / 0.5475 GB, free: 26.78 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.5909, allocations: 7.875 kB / 0.5475 GB, free: 26.77 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.591, allocations: 3.953 kB / 0.5475 GB, free: 26.77 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.591, allocations: 3.875 kB / 0.5475 GB, free: 26.77 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000187/0.5912, allocations: 233.6 kB / 0.5477 GB, free: 26.56 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00014/0.5913, allocations: 146 kB / 0.5478 GB, free: 26.45 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.148e-05/0.5914, allocations: 7.875 kB / 0.5478 GB, free: 26.45 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001466/0.5915, allocations: 7.562 kB / 0.5479 GB, free: 26.45 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.86e-05/0.5915, allocations: 7.938 kB / 0.5479 GB, free: 26.44 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.5916, allocations: 3.875 kB / 0.5479 GB, free: 26.44 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007922/0.5924, allocations: 1.069 MB / 0.5489 GB, free: 26.36 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5924, allocations: 0 / 0.5489 GB, free: 26.36 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000716/0.5931, allocations: 253.3 kB / 0.5491 GB, free: 26.3 MB / 394.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 () * Number of clocked 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.0005583/0.5936, allocations: 379.8 kB / 0.5495 GB, free: 26.14 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004938/0.5941, allocations: 0.4949 MB / 0.55 GB, free: 26.12 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.5942, allocations: 0 / 0.55 GB, free: 26.12 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.926e-05/0.5942, allocations: 34.02 kB / 0.55 GB, free: 26.12 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004283/0.5946, allocations: 81.92 kB / 0.5501 GB, free: 26.12 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007362/0.5954, allocations: 0.6471 MB / 0.5507 GB, free: 25.72 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000295/0.5957, allocations: 0.7796 MB / 0.5515 GB, free: 25.02 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002293/0.5959, allocations: 87.31 kB / 0.5516 GB, free: 25 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.584e-05/0.596, allocations: 33.89 kB / 0.5516 GB, free: 24.99 MB / 394.7 MB Notification: Performance of SimCode: time 2.21e-07/0.596, allocations: 0 / 0.5516 GB, free: 24.99 MB / 394.7 MB Notification: Performance of Templates: time 0.01105/0.6071, allocations: 8.281 MB / 0.5597 GB, free: 21.73 MB / 394.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)