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/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.0-master/package.mo", uses=false) Using package Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009758/0.0009758, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.0009464/0.0009464, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo): time 0.2428/0.2428, allocations: 15.26 MB / 306.2 MB, free: 15.77 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003595/0.0003599, allocations: 8 kB / 371.4 MB, free: 4.031 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3639/0.3643, allocations: 54.62 MB / 426 MB, free: 39.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.CheckSubstancesData.SimpleReaction): time 0.003136/0.3675, allocations: 2.749 MB / 428.7 MB, free: 39.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00529/0.3728, allocations: 5.365 MB / 434.1 MB, free: 37 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002853/0.3731, allocations: 11.03 kB / 434.1 MB, free: 36.99 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003685/0.3735, allocations: 143.4 kB / 434.2 MB, free: 36.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005951/0.3741, allocations: 315.6 kB / 434.6 MB, free: 36.69 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001997/0.3761, allocations: 0.8604 MB / 435.4 MB, free: 36.17 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005107/0.3766, allocations: 360.8 kB / 435.8 MB, free: 35.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002255/0.3768, allocations: 130.1 kB / 435.9 MB, free: 35.94 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001812/0.377, allocations: 159.4 kB / 436 MB, free: 35.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002539/0.3773, allocations: 223.9 kB / 436.3 MB, free: 35.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.01e-05/0.3773, allocations: 12.09 kB / 436.3 MB, free: 35.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001494/0.3788, allocations: 0.6379 MB / 436.9 MB, free: 35.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.046e-05/0.3789, allocations: 73.05 kB / 437 MB, free: 35.65 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.01e-05/0.379, allocations: 85.14 kB / 437.1 MB, free: 35.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007815/0.3798, allocations: 0.5889 MB / 437.7 MB, free: 35.4 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.3798, allocations: 0 / 437.7 MB, free: 35.4 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.305e-06/0.3798, allocations: 0 / 437.7 MB, free: 35.4 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.3798, allocations: 3.938 kB / 437.7 MB, free: 35.39 MB / 350.1 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.00079/0.3806, allocations: 0.6653 MB / 438.3 MB, free: 34.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.3807, allocations: 9.312 kB / 438.3 MB, free: 34.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004717/0.3812, allocations: 114 kB / 438.4 MB, free: 34.81 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003272/0.3815, allocations: 323.9 kB / 438.8 MB, free: 34.54 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.3815, allocations: 18.12 kB / 438.8 MB, free: 34.53 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.043e-05/0.3816, allocations: 25.12 kB / 438.8 MB, free: 34.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004432/0.382, allocations: 382 kB / 439.2 MB, free: 34.33 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.382, allocations: 0 / 439.2 MB, free: 34.33 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.347e-05/0.3821, allocations: 11.38 kB / 439.2 MB, free: 34.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.3821, allocations: 3.312 kB / 439.2 MB, free: 34.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006197/0.3827, allocations: 0.5436 MB / 439.7 MB, free: 34.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001334/0.3841, allocations: 1.371 MB / 441.1 MB, free: 33.17 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002512/0.3843, allocations: 167.2 kB / 441.3 MB, free: 33.1 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001542/0.3859, allocations: 1.836 MB / 443.1 MB, free: 31.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.401e-05/0.3859, allocations: 30.56 kB / 443.1 MB, free: 31.46 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.773e-06/0.3859, allocations: 0 / 443.1 MB, free: 31.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0003758/0.3863, allocations: 222.3 kB / 443.4 MB, free: 31.36 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.66e-05/0.3863, allocations: 51.41 kB / 443.4 MB, free: 31.3 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002892/0.3866, allocations: 373.2 kB / 443.8 MB, free: 31.11 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.3867, allocations: 32.61 kB / 443.8 MB, free: 31.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.3868, allocations: 224.2 kB / 444 MB, free: 30.88 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.97e-05/0.3868, allocations: 52.44 kB / 444.1 MB, free: 30.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.205e-05/0.3868, allocations: 7.125 kB / 444.1 MB, free: 30.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.389e-05/0.3869, allocations: 343.2 kB / 444.4 MB, free: 30.51 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.138e-05/0.387, allocations: 65.45 kB / 444.5 MB, free: 30.49 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001433/0.3871, allocations: 236.7 kB / 444.7 MB, free: 30.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001358/0.3873, allocations: 102.4 kB / 444.8 MB, free: 30.19 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.3873, allocations: 3.156 kB / 444.8 MB, free: 30.19 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004067/0.3877, allocations: 345.5 kB / 445.2 MB, free: 30.04 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.3877, allocations: 6.75 kB / 445.2 MB, free: 30.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.3877, allocations: 7.156 kB / 445.2 MB, free: 30.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.3878, allocations: 9.094 kB / 445.2 MB, free: 30.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002031/0.388, allocations: 87.22 kB / 445.3 MB, free: 30.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.388, allocations: 10.31 kB / 445.3 MB, free: 30.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001653/0.3882, allocations: 32.84 kB / 445.3 MB, free: 30 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.377e-05/0.3882, allocations: 25.58 kB / 445.3 MB, free: 30 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (35): * Single equations (assignments): 35 * 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.0001084/0.3883, allocations: 154 kB / 445.5 MB, free: 29.85 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.597e-05/0.3884, allocations: 35.66 kB / 445.5 MB, free: 29.83 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004566/0.3888, allocations: 297.3 kB / 445.8 MB, free: 29.64 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.3888, allocations: 3.312 kB / 445.8 MB, free: 29.64 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.3888, allocations: 0 / 445.8 MB, free: 29.64 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.3889, allocations: 0 / 445.8 MB, free: 29.64 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004509/0.3893, allocations: 0.6267 MB / 446.4 MB, free: 29.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.3893, allocations: 0 / 446.4 MB, free: 29.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.347e-05/0.3894, allocations: 12.78 kB / 446.4 MB, free: 29.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.3894, allocations: 3.062 kB / 446.4 MB, free: 29.12 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.3894, allocations: 7.156 kB / 446.5 MB, free: 29.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.3894, allocations: 7.891 kB / 446.5 MB, free: 29.11 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.3894, allocations: 3.281 kB / 446.5 MB, free: 29.11 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000172/0.3896, allocations: 226.8 kB / 446.7 MB, free: 28.88 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.69e-05/0.3897, allocations: 124.7 kB / 446.8 MB, free: 28.76 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.67e-05/0.3898, allocations: 3.422 kB / 446.8 MB, free: 28.76 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.297e-05/0.3898, allocations: 7.375 kB / 446.8 MB, free: 28.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.137e-05/0.3899, allocations: 11.02 kB / 446.8 MB, free: 28.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.3899, allocations: 3.344 kB / 446.8 MB, free: 28.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002301/0.3901, allocations: 297.8 kB / 447.1 MB, free: 28.6 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3901, allocations: 4 kB / 447.1 MB, free: 28.6 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004489/0.3906, allocations: 164.7 kB / 447.3 MB, free: 28.55 MB / 350.1 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.0004085/0.391, allocations: 300 kB / 447.6 MB, free: 28.39 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002422/0.3912, allocations: 162.2 kB / 447.7 MB, free: 28.34 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3913, allocations: 0.5 kB / 447.7 MB, free: 28.34 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.807e-05/0.3913, allocations: 30.27 kB / 447.8 MB, free: 28.33 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004108/0.3917, allocations: 88.77 kB / 447.9 MB, free: 28.3 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006709/0.3924, allocations: 0.6498 MB / 448.5 MB, free: 27.88 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001739/0.3926, allocations: 0.7762 MB / 449.3 MB, free: 27.18 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002843/0.3929, allocations: 105.2 kB / 449.4 MB, free: 27.14 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.779e-05/0.393, allocations: 43.91 kB / 449.4 MB, free: 27.12 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.393, allocations: 0 / 449.4 MB, free: 27.12 MB / 350.1 MB Notification: Performance of Templates: time 0.008167/0.4011, allocations: 5.734 MB / 455.2 MB, free: 26.6 MB / 350.1 MB make -j1 -f Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: