Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.0009224/0.0009224, allocations: 93.06 kB / 19.65 MB, free: 280 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.000926/0.000926, allocations: 169 kB / 23.02 MB, free: 1.551 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.9912/0.9912, allocations: 177.1 MB / 203.4 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.08936/0.08936, allocations: 17.38 MB / 277.3 MB, free: 11.66 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.785e-06/2.785e-06, allocations: 0 / 353.4 MB, free: 9.984 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.351e-05/4.63e-05, allocations: 2.312 kB / 353.4 MB, free: 9.98 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction): time 0.003922/0.003968, allocations: 2.901 MB / 356.3 MB, free: 7.051 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003708/0.007676, allocations: 3.495 MB / 359.8 MB, free: 3.543 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002833/0.007959, allocations: 15.88 kB / 359.8 MB, free: 3.527 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000389/0.008348, allocations: 103.1 kB / 359.9 MB, free: 3.426 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006251/0.008973, allocations: 210.2 kB / 360.2 MB, free: 3.219 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001424/0.0104, allocations: 0.5668 MB / 360.7 MB, free: 2.648 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000773/0.01117, allocations: 0.4946 MB / 361.2 MB, free: 2.152 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002632/0.01143, allocations: 144.8 kB / 361.4 MB, free: 2.012 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002694/0.0117, allocations: 303.4 kB / 361.7 MB, free: 1.715 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002807/0.01198, allocations: 219.5 kB / 361.9 MB, free: 1.5 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.643e-05/0.01203, allocations: 24 kB / 361.9 MB, free: 1.477 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000476/0.01251, allocations: 275.5 kB / 362.2 MB, free: 1.207 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.622e-05/0.0126, allocations: 87.67 kB / 362.2 MB, free: 1.121 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001146/0.01272, allocations: 123.7 kB / 362.4 MB, free: 1 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007559/0.01347, allocations: 0.6809 MB / 363 MB, free: 324 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.514e-06/0.01348, allocations: 0 / 363 MB, free: 324 kB / 282.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.01348, allocations: 0 / 363 MB, free: 324 kB / 282.7 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.01348, allocations: 4 kB / 363.1 MB, free: 320 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.0007382/0.01422, allocations: 0.7248 MB / 363.8 MB, free: 15.55 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.01427, allocations: 16.02 kB / 363.8 MB, free: 15.53 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003867/0.01465, allocations: 175.7 kB / 364 MB, free: 15.36 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000368/0.01502, allocations: 328.2 kB / 364.3 MB, free: 15.02 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.01504, allocations: 20.88 kB / 364.3 MB, free: 15 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.444e-05/0.01507, allocations: 20.38 kB / 364.3 MB, free: 14.98 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003668/0.01544, allocations: 343 kB / 364.7 MB, free: 14.61 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.01545, allocations: 3.938 kB / 364.7 MB, free: 14.6 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.458e-05/0.01547, allocations: 8 kB / 364.7 MB, free: 14.59 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.01548, allocations: 8 kB / 364.7 MB, free: 14.59 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004687/0.01595, allocations: 404.4 kB / 365.1 MB, free: 14.19 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001212/0.01716, allocations: 1.552 MB / 366.6 MB, free: 12.57 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002193/0.01738, allocations: 111 kB / 366.7 MB, free: 12.45 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.343e-05/0.01748, allocations: 55.66 kB / 366.8 MB, free: 12.39 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001126/0.0186, allocations: 0.8824 MB / 367.7 MB, free: 11.49 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/0.01863, allocations: 37.39 kB / 367.7 MB, free: 11.45 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.303e-06/0.01863, allocations: 0 / 367.7 MB, free: 11.45 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003059/0.01894, allocations: 161 kB / 367.9 MB, free: 11.29 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.935e-05/0.01896, allocations: 51.41 kB / 367.9 MB, free: 11.22 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002567/0.01922, allocations: 398.6 kB / 368.3 MB, free: 10.82 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.01924, allocations: 25.7 kB / 368.3 MB, free: 10.79 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001349/0.01937, allocations: 294.6 kB / 368.6 MB, free: 10.49 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.993e-05/0.0194, allocations: 47.64 kB / 368.7 MB, free: 10.44 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.468e-05/0.01948, allocations: 71.31 kB / 368.7 MB, free: 10.36 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.01962, allocations: 0.5196 MB / 369.3 MB, free: 9.832 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.939e-05/0.01968, allocations: 31.97 kB / 369.3 MB, free: 9.801 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001722/0.01985, allocations: 298.8 kB / 369.6 MB, free: 9.387 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002713/0.02012, allocations: 362.5 kB / 369.9 MB, free: 8.91 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.02012, allocations: 0 / 369.9 MB, free: 8.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003511/0.02047, allocations: 305.5 kB / 370.2 MB, free: 8.605 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.02049, allocations: 8 kB / 370.2 MB, free: 8.598 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/0.0205, allocations: 12 kB / 370.2 MB, free: 8.586 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.894e-05/0.02053, allocations: 11.98 kB / 370.3 MB, free: 8.574 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/0.02068, allocations: 75.84 kB / 370.3 MB, free: 8.5 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.791e-05/0.0207, allocations: 11.94 kB / 370.3 MB, free: 8.488 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001037/0.0208, allocations: 35.72 kB / 370.4 MB, free: 8.453 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.069e-05/0.02083, allocations: 24 kB / 370.4 MB, free: 8.43 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.000107/0.02094, allocations: 184.5 kB / 370.6 MB, free: 8.238 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.629e-05/0.02098, allocations: 43.75 kB / 370.6 MB, free: 8.195 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005377/0.02152, allocations: 282 kB / 370.9 MB, free: 7.879 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.02152, allocations: 0 / 370.9 MB, free: 7.879 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.02153, allocations: 0 / 370.9 MB, free: 7.879 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.02153, allocations: 0 / 370.9 MB, free: 7.879 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000429/0.02196, allocations: 0.6156 MB / 371.5 MB, free: 7.195 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.02196, allocations: 4 kB / 371.5 MB, free: 7.191 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.239e-05/0.022, allocations: 8 kB / 371.5 MB, free: 7.184 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.022, allocations: 4 kB / 371.5 MB, free: 7.18 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.02201, allocations: 7.938 kB / 371.5 MB, free: 7.172 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.419e-06/0.02202, allocations: 4 kB / 371.5 MB, free: 7.168 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.02202, allocations: 3.938 kB / 371.5 MB, free: 7.164 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001302/0.02215, allocations: 166.6 kB / 371.7 MB, free: 6.957 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.961e-05/0.02219, allocations: 35.77 kB / 371.7 MB, free: 6.922 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.694e-05/0.02222, allocations: 8.125 kB / 371.8 MB, free: 6.914 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.128e-05/0.02226, allocations: 0 / 371.8 MB, free: 6.914 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.382e-05/0.02228, allocations: 11.92 kB / 371.8 MB, free: 6.902 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.02229, allocations: 8 kB / 371.8 MB, free: 6.895 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001921/0.02248, allocations: 283.1 kB / 372 MB, free: 6.617 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.02248, allocations: 0 / 372 MB, free: 6.617 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003126/0.02279, allocations: 119.6 kB / 372.2 MB, free: 6.5 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.0002726/0.02307, allocations: 198.8 kB / 372.4 MB, free: 6.297 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002157/0.02328, allocations: 136.2 kB / 372.5 MB, free: 6.16 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.02328, allocations: 0 / 372.5 MB, free: 6.16 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.518e-05/0.02331, allocations: 27.73 kB / 372.5 MB, free: 6.129 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003373/0.02365, allocations: 87.53 kB / 372.6 MB, free: 6.051 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.001118/0.02476, allocations: 0.5478 MB / 373.2 MB, free: 5.449 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.385e-05/0.02482, allocations: 88.25 kB / 373.2 MB, free: 5.344 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001809/0.025, allocations: 90.94 kB / 373.3 MB, free: 5.258 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.783e-05/0.02507, allocations: 44.48 kB / 373.4 MB, free: 5.215 MB / 298.7 MB Notification: Performance of SimCode: time 1.503e-06/0.02507, allocations: 0 / 373.4 MB, free: 5.215 MB / 298.7 MB Notification: Performance of Templates: time 0.006518/0.03159, allocations: 4.586 MB / 378 MB, free: 0.7148 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.sim & ./Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.009571798145771]