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.00103/0.00103, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001042/0.001042, allocations: 173 kB / 23.02 MB, free: 1.547 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.9285/0.9285, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.08779/0.08779, allocations: 17.47 MB / 277.4 MB, free: 11.55 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 1.994e-06/1.994e-06, allocations: 0 / 353.6 MB, free: 9.836 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.519e-05/2.718e-05, allocations: 6.25 kB / 353.6 MB, free: 9.828 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction): time 0.004477/0.004504, allocations: 2.894 MB / 356.5 MB, free: 6.906 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004268/0.008772, allocations: 3.491 MB / 359.9 MB, free: 3.402 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001983/0.00897, allocations: 19.81 kB / 360 MB, free: 3.383 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003893/0.00936, allocations: 99.19 kB / 360.1 MB, free: 3.285 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000569/0.009929, allocations: 206.3 kB / 360.3 MB, free: 3.082 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001213/0.01114, allocations: 0.5668 MB / 360.8 MB, free: 2.512 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007944/0.01194, allocations: 0.5024 MB / 361.3 MB, free: 2.008 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000323/0.01226, allocations: 144.7 kB / 361.5 MB, free: 1.867 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003653/0.01262, allocations: 299.4 kB / 361.8 MB, free: 1.574 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003651/0.01299, allocations: 211.5 kB / 362 MB, free: 1.367 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.019e-05/0.01305, allocations: 24 kB / 362 MB, free: 1.344 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005594/0.01361, allocations: 287.4 kB / 362.3 MB, free: 1.062 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001165/0.01373, allocations: 83.67 kB / 362.4 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001547/0.01388, allocations: 127.7 kB / 362.5 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009606/0.01484, allocations: 0.6731 MB / 363.2 MB, free: 184 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.01484, allocations: 0 / 363.2 MB, free: 184 kB / 282.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.01485, allocations: 0 / 363.2 MB, free: 184 kB / 282.7 MB Notification: Performance of Transformations before backend: time 8.195e-06/0.01485, allocations: 4 kB / 363.2 MB, free: 180 kB / 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.001023/0.01588, allocations: 0.7364 MB / 363.9 MB, free: 15.4 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.01593, allocations: 16.03 kB / 363.9 MB, free: 15.39 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005842/0.01651, allocations: 175.7 kB / 364.1 MB, free: 15.21 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005017/0.01701, allocations: 320.3 kB / 364.4 MB, free: 14.88 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/0.01703, allocations: 16.88 kB / 364.4 MB, free: 14.86 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.889e-05/0.01708, allocations: 24.38 kB / 364.4 MB, free: 14.84 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005325/0.01762, allocations: 343 kB / 364.8 MB, free: 14.46 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/0.01763, allocations: 3.938 kB / 364.8 MB, free: 14.46 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.07e-05/0.01767, allocations: 8 kB / 364.8 MB, free: 14.45 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.325e-05/0.01769, allocations: 8 kB / 364.8 MB, free: 14.45 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006496/0.01834, allocations: 400.5 kB / 365.2 MB, free: 14.05 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001766/0.0201, allocations: 1.567 MB / 366.8 MB, free: 12.42 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003112/0.02041, allocations: 111 kB / 366.9 MB, free: 12.3 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001305/0.02054, allocations: 59.58 kB / 366.9 MB, free: 12.24 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001457/0.022, allocations: 0.8746 MB / 367.8 MB, free: 11.34 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.02203, allocations: 33.39 kB / 367.8 MB, free: 11.3 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 2.425e-06/0.02203, allocations: 0 / 367.8 MB, free: 11.3 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004248/0.02246, allocations: 161.4 kB / 368 MB, free: 11.14 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/0.02251, allocations: 51.41 kB / 368 MB, free: 11.07 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003619/0.02287, allocations: 394.6 kB / 368.4 MB, free: 10.67 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.02289, allocations: 29.64 kB / 368.4 MB, free: 10.64 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001825/0.02307, allocations: 286.6 kB / 368.7 MB, free: 10.35 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.137e-05/0.02311, allocations: 43.64 kB / 368.8 MB, free: 10.3 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.02322, allocations: 79.31 kB / 368.8 MB, free: 10.22 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002021/0.02342, allocations: 0.5235 MB / 369.4 MB, free: 9.684 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.941e-05/0.0235, allocations: 27.97 kB / 369.4 MB, free: 9.656 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002496/0.02375, allocations: 290.9 kB / 369.7 MB, free: 9.25 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003717/0.02412, allocations: 374.5 kB / 370 MB, free: 8.762 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.02412, allocations: 0 / 370 MB, free: 8.762 MB / 298.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004749/0.0246, allocations: 305 kB / 370.3 MB, free: 8.457 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.02462, allocations: 8 kB / 370.4 MB, free: 8.449 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.02463, allocations: 11.94 kB / 370.4 MB, free: 8.438 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.442e-05/0.02466, allocations: 8 kB / 370.4 MB, free: 8.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002151/0.02487, allocations: 79.84 kB / 370.5 MB, free: 8.352 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.454e-05/0.02489, allocations: 12.58 kB / 370.5 MB, free: 8.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001579/0.02504, allocations: 35.78 kB / 370.5 MB, free: 8.305 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.901e-05/0.02508, allocations: 24 kB / 370.5 MB, free: 8.281 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 0.0001467/0.02523, allocations: 184.3 kB / 370.7 MB, free: 8.09 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.992e-05/0.02529, allocations: 35.77 kB / 370.7 MB, free: 8.055 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004704/0.02576, allocations: 277.5 kB / 371 MB, free: 7.746 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.02576, allocations: 7.938 kB / 371 MB, free: 7.738 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.02577, allocations: 0 / 371 MB, free: 7.738 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.02577, allocations: 4 kB / 371 MB, free: 7.734 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005481/0.02632, allocations: 0.6156 MB / 371.6 MB, free: 7.051 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.02633, allocations: 4 kB / 371.6 MB, free: 7.047 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.521e-05/0.02637, allocations: 11.98 kB / 371.7 MB, free: 7.035 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.02638, allocations: 4 kB / 371.7 MB, free: 7.031 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.02639, allocations: 0 / 371.7 MB, free: 7.031 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.02639, allocations: 4 kB / 371.7 MB, free: 7.027 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.409e-06/0.0264, allocations: 8.062 kB / 371.7 MB, free: 7.02 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001765/0.02657, allocations: 166.7 kB / 371.8 MB, free: 6.812 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.521e-05/0.02663, allocations: 35.75 kB / 371.9 MB, free: 6.777 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.298e-05/0.02667, allocations: 8 kB / 371.9 MB, free: 6.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.833e-05/0.02674, allocations: 0 / 371.9 MB, free: 6.77 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.993e-05/0.02677, allocations: 19.84 kB / 371.9 MB, free: 6.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/0.02678, allocations: 4 kB / 371.9 MB, free: 6.746 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002539/0.02703, allocations: 287.1 kB / 372.2 MB, free: 6.465 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02703, allocations: 0 / 372.2 MB, free: 6.465 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004794/0.02751, allocations: 115.6 kB / 372.3 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.0003666/0.02788, allocations: 198.8 kB / 372.5 MB, free: 6.148 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002748/0.02815, allocations: 135.4 kB / 372.6 MB, free: 6.012 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.02815, allocations: 5.688 kB / 372.6 MB, free: 6.008 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.85e-05/0.02819, allocations: 31.62 kB / 372.7 MB, free: 5.973 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004805/0.02867, allocations: 84.84 kB / 372.7 MB, free: 5.895 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.001424/0.0301, allocations: 0.544 MB / 373.3 MB, free: 5.297 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.494e-05/0.03017, allocations: 92.23 kB / 373.4 MB, free: 5.188 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002412/0.03041, allocations: 86.83 kB / 373.5 MB, free: 5.105 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.217e-05/0.0305, allocations: 48.48 kB / 373.5 MB, free: 5.059 MB / 298.7 MB Notification: Performance of SimCode: time 1.272e-06/0.0305, allocations: 0 / 373.5 MB, free: 5.059 MB / 298.7 MB Notification: Performance of Templates: time 0.009798/0.04029, allocations: 5.188 MB / 378.7 MB, free: 15.95 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.9085539099760354]