Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 81.17 kB / 19.87 MB, free: 4.621 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009195/0.0009195, allocations: 169 kB / 23.27 MB, free: 1.223 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9698/0.9698, allocations: 177.2 MB / 203.7 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.09019/0.09019, allocations: 17.47 MB / 277.7 MB, free: 11.42 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 354 MB, free: 9.582 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.252e-05/1.464e-05, allocations: 10.25 kB / 354 MB, free: 9.57 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction): time 0.002882/0.002897, allocations: 2.866 MB / 356.9 MB, free: 6.676 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002855/0.005752, allocations: 3.445 MB / 360.3 MB, free: 3.219 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000163/0.005915, allocations: 11.88 kB / 360.3 MB, free: 3.207 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003033/0.006218, allocations: 95.2 kB / 360.4 MB, free: 3.113 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003529/0.006571, allocations: 218.2 kB / 360.6 MB, free: 2.898 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006997/0.007271, allocations: 0.5668 MB / 361.2 MB, free: 2.328 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004428/0.007713, allocations: 0.4985 MB / 361.7 MB, free: 1.828 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001846/0.007898, allocations: 140.7 kB / 361.8 MB, free: 1.691 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002156/0.008114, allocations: 307.4 kB / 362.1 MB, free: 1.391 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000239/0.008353, allocations: 211.5 kB / 362.3 MB, free: 1.184 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.853e-05/0.008391, allocations: 28 kB / 362.4 MB, free: 1.156 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003615/0.008752, allocations: 279.4 kB / 362.6 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.667e-05/0.008829, allocations: 83.67 kB / 362.7 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.991e-05/0.008919, allocations: 123.8 kB / 362.9 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006102/0.009529, allocations: 0.6731 MB / 363.5 MB, free: 4 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.009531, allocations: 4 kB / 363.5 MB, free: 0 / 282.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.009532, allocations: 0 / 363.5 MB, free: 0 / 282.7 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.009536, allocations: 0 / 363.5 MB, free: 0 / 282.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.0006245/0.01016, allocations: 0.7519 MB / 364.3 MB, free: 15.21 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.0102, allocations: 12.03 kB / 364.3 MB, free: 15.2 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003373/0.01053, allocations: 171.7 kB / 364.5 MB, free: 15.03 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003127/0.01085, allocations: 320.4 kB / 364.8 MB, free: 14.69 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.01086, allocations: 12.88 kB / 364.8 MB, free: 14.68 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.957e-05/0.01089, allocations: 24.38 kB / 364.8 MB, free: 14.66 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002923/0.01118, allocations: 318.9 kB / 365.1 MB, free: 14.31 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.01119, allocations: 3.938 kB / 365.1 MB, free: 14.3 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.235e-05/0.01121, allocations: 12 kB / 365.1 MB, free: 14.29 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.315e-06/0.01122, allocations: 16 kB / 365.2 MB, free: 14.28 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003329/0.01155, allocations: 357.2 kB / 365.5 MB, free: 13.93 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00107/0.01262, allocations: 1.563 MB / 367.1 MB, free: 12.3 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001477/0.01277, allocations: 102.9 kB / 367.2 MB, free: 12.19 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.961e-05/0.01283, allocations: 51.66 kB / 367.2 MB, free: 12.13 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008886/0.01372, allocations: 0.8904 MB / 368.1 MB, free: 11.23 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/0.01374, allocations: 33.39 kB / 368.1 MB, free: 11.19 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.262e-06/0.01374, allocations: 0 / 368.1 MB, free: 11.19 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002295/0.01397, allocations: 153.4 kB / 368.3 MB, free: 11.04 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.068e-05/0.014, allocations: 51.41 kB / 368.3 MB, free: 10.97 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002119/0.01422, allocations: 386.4 kB / 368.7 MB, free: 10.58 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.01423, allocations: 33.7 kB / 368.7 MB, free: 10.54 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/0.01435, allocations: 290.5 kB / 369 MB, free: 10.25 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.754e-05/0.01438, allocations: 51.62 kB / 369.1 MB, free: 10.2 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.662e-05/0.01445, allocations: 75.28 kB / 369.2 MB, free: 10.11 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.01459, allocations: 0.5311 MB / 369.7 MB, free: 9.57 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.639e-05/0.01463, allocations: 23.97 kB / 369.7 MB, free: 9.547 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001514/0.01478, allocations: 290.8 kB / 370 MB, free: 9.141 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002296/0.01501, allocations: 358.5 kB / 370.3 MB, free: 8.668 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.01501, allocations: 0 / 370.3 MB, free: 8.668 MB / 298.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002772/0.01529, allocations: 293.4 kB / 370.6 MB, free: 8.375 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.0153, allocations: 8 kB / 370.6 MB, free: 8.367 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.01531, allocations: 4 kB / 370.6 MB, free: 8.363 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.01533, allocations: 8 kB / 370.6 MB, free: 8.355 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.01545, allocations: 75.91 kB / 370.7 MB, free: 8.281 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.01546, allocations: 11.94 kB / 370.7 MB, free: 8.27 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.45e-05/0.01556, allocations: 35.78 kB / 370.8 MB, free: 8.234 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.383e-05/0.01558, allocations: 23.98 kB / 370.8 MB, free: 8.211 MB / 298.7 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.582e-05/0.01568, allocations: 184.6 kB / 371 MB, free: 8.02 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.861e-05/0.01571, allocations: 39.7 kB / 371 MB, free: 7.98 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003121/0.01603, allocations: 281.6 kB / 371.3 MB, free: 7.668 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.01603, allocations: 0 / 371.3 MB, free: 7.668 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.01603, allocations: 0 / 371.3 MB, free: 7.668 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.01603, allocations: 0 / 371.3 MB, free: 7.668 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003334/0.01637, allocations: 0.5732 MB / 371.9 MB, free: 7.035 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.01637, allocations: 0 / 371.9 MB, free: 7.035 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.699e-05/0.0164, allocations: 11.94 kB / 371.9 MB, free: 7.023 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.0164, allocations: 4 kB / 371.9 MB, free: 7.02 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.661e-06/0.0164, allocations: 4.062 kB / 371.9 MB, free: 7.016 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.01641, allocations: 7.984 kB / 371.9 MB, free: 7.008 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.01641, allocations: 0 / 371.9 MB, free: 7.008 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001084/0.01652, allocations: 170.5 kB / 372.1 MB, free: 6.797 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.474e-05/0.01655, allocations: 31.77 kB / 372.1 MB, free: 6.766 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.449e-05/0.01658, allocations: 16.14 kB / 372.1 MB, free: 6.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.997e-05/0.01662, allocations: 0 / 372.1 MB, free: 6.75 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.344e-05/0.01663, allocations: 7.938 kB / 372.1 MB, free: 6.742 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.01663, allocations: 4 kB / 372.1 MB, free: 6.738 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001359/0.01677, allocations: 271 kB / 372.4 MB, free: 6.469 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01677, allocations: 0 / 372.4 MB, free: 6.469 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002742/0.01704, allocations: 119.6 kB / 372.5 MB, free: 6.352 MB / 298.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002134/0.01726, allocations: 210.7 kB / 372.7 MB, free: 6.137 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001497/0.01741, allocations: 123.5 kB / 372.8 MB, free: 6.012 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01741, allocations: 3.938 kB / 372.8 MB, free: 6.008 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.162e-05/0.01743, allocations: 29.23 kB / 372.9 MB, free: 5.977 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000281/0.01771, allocations: 88.08 kB / 372.9 MB, free: 5.898 MB / 298.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008504/0.01856, allocations: 0.5479 MB / 373.5 MB, free: 5.297 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.768e-05/0.01861, allocations: 88.3 kB / 373.6 MB, free: 5.191 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000154/0.01876, allocations: 78.88 kB / 373.7 MB, free: 5.113 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001499/0.01891, allocations: 154.1 kB / 373.8 MB, free: 4.961 MB / 298.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01891, allocations: 0 / 373.8 MB, free: 4.961 MB / 298.7 MB Notification: Performance of Templates: time 0.006333/0.02525, allocations: 5.227 MB / 379 MB, free: 15.82 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.sim & ./Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.751479445025325]