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.0009419/0.0009419, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001401/0.001401, allocations: 181 kB / 23.36 MB, free: 1.133 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 1.048/1.048, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.09308/0.09308, allocations: 17.39 MB / 277.6 MB, free: 11.52 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 1.714e-06/1.714e-06, allocations: 0 / 300.7 MB, free: 1.602 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.179e-05/2.351e-05, allocations: 4.562 kB / 300.7 MB, free: 1.598 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction): time 0.005106/0.00513, allocations: 2.928 MB / 303.6 MB, free: 15.63 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005439/0.01057, allocations: 3.503 MB / 307.1 MB, free: 13.23 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003884/0.01096, allocations: 15.59 kB / 307.1 MB, free: 13.22 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004668/0.01142, allocations: 102.6 kB / 307.2 MB, free: 13.16 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007391/0.01216, allocations: 210.9 kB / 307.4 MB, free: 13.02 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001792/0.01396, allocations: 0.5585 MB / 308 MB, free: 12.69 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009634/0.01492, allocations: 0.4991 MB / 308.5 MB, free: 12.32 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003743/0.01529, allocations: 150.6 kB / 308.6 MB, free: 12.19 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000505/0.0158, allocations: 302.6 kB / 308.9 MB, free: 11.9 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004333/0.01623, allocations: 207.5 kB / 309.1 MB, free: 11.7 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.744e-05/0.0163, allocations: 28 kB / 309.1 MB, free: 11.67 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00106/0.01736, allocations: 287.4 kB / 309.4 MB, free: 11.39 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001298/0.01749, allocations: 83.67 kB / 309.5 MB, free: 11.31 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001624/0.01765, allocations: 127.7 kB / 309.6 MB, free: 11.18 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001251/0.0189, allocations: 0.677 MB / 310.3 MB, free: 10.5 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.01891, allocations: 0 / 310.3 MB, free: 10.5 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.01891, allocations: 0 / 310.3 MB, free: 10.5 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.528e-06/0.01892, allocations: 0 / 310.3 MB, free: 10.5 MB / 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.001097/0.02002, allocations: 0.6198 MB / 310.9 MB, free: 9.859 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.02006, allocations: 8.031 kB / 310.9 MB, free: 9.852 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006032/0.02066, allocations: 160 kB / 311.1 MB, free: 9.695 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005044/0.02117, allocations: 301.6 kB / 311.4 MB, free: 9.375 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.406e-05/0.02119, allocations: 16.88 kB / 311.4 MB, free: 9.359 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.256e-05/0.02123, allocations: 16.38 kB / 311.4 MB, free: 9.344 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004534/0.02169, allocations: 306 kB / 311.7 MB, free: 9.016 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.0217, allocations: 11.88 kB / 311.7 MB, free: 9.004 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.241e-05/0.02173, allocations: 4 kB / 311.7 MB, free: 9 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/0.02175, allocations: 8 kB / 311.7 MB, free: 8.992 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005281/0.02227, allocations: 324.1 kB / 312.1 MB, free: 8.672 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001496/0.02377, allocations: 1.117 MB / 313.2 MB, free: 7.512 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000238/0.02401, allocations: 140 kB / 313.3 MB, free: 7.363 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.09e-05/0.0241, allocations: 40.84 kB / 313.4 MB, free: 7.32 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001543/0.02564, allocations: 0.7987 MB / 314.2 MB, free: 6.508 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.02567, allocations: 38.55 kB / 314.2 MB, free: 6.461 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 2.635e-06/0.02568, allocations: 4 kB / 314.2 MB, free: 6.457 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002913/0.02597, allocations: 145.5 kB / 314.3 MB, free: 6.309 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/0.02601, allocations: 59.41 kB / 314.4 MB, free: 6.238 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002724/0.02628, allocations: 315.2 kB / 314.7 MB, free: 5.918 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.555e-05/0.02631, allocations: 29.7 kB / 314.7 MB, free: 5.883 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001287/0.02643, allocations: 208.5 kB / 314.9 MB, free: 5.676 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.087e-05/0.02648, allocations: 47.62 kB / 315 MB, free: 5.629 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.02658, allocations: 69.64 kB / 315 MB, free: 5.555 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.0267, allocations: 350.7 kB / 315.4 MB, free: 5.203 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.232e-05/0.02676, allocations: 30.75 kB / 315.4 MB, free: 5.172 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001844/0.02695, allocations: 209.5 kB / 315.6 MB, free: 4.879 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000315/0.02726, allocations: 303.2 kB / 315.9 MB, free: 4.492 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.02727, allocations: 0 / 315.9 MB, free: 4.492 MB / 282.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003876/0.02765, allocations: 231.9 kB / 316.1 MB, free: 4.258 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/0.02768, allocations: 11.98 kB / 316.2 MB, free: 4.246 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.02769, allocations: 4 kB / 316.2 MB, free: 4.242 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.414e-05/0.02771, allocations: 12.78 kB / 316.2 MB, free: 4.23 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002242/0.02794, allocations: 79.84 kB / 316.3 MB, free: 4.152 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.02795, allocations: 12 kB / 316.3 MB, free: 4.141 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001907/0.02814, allocations: 39.73 kB / 316.3 MB, free: 4.102 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.161e-05/0.02818, allocations: 23.98 kB / 316.3 MB, free: 4.078 MB / 282.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.0001238/0.0283, allocations: 136.4 kB / 316.5 MB, free: 3.934 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.31e-05/0.02835, allocations: 23.98 kB / 316.5 MB, free: 3.91 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004419/0.0288, allocations: 253.4 kB / 316.7 MB, free: 3.637 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.0288, allocations: 4 kB / 316.7 MB, free: 3.633 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-06/0.0288, allocations: 0 / 316.7 MB, free: 3.633 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.0288, allocations: 0 / 316.7 MB, free: 3.633 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000454/0.02926, allocations: 483.6 kB / 317.2 MB, free: 3.109 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.02926, allocations: 4 kB / 317.2 MB, free: 3.105 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.744e-05/0.02931, allocations: 11.94 kB / 317.2 MB, free: 3.094 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.02931, allocations: 0 / 317.2 MB, free: 3.094 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.02932, allocations: 4 kB / 317.2 MB, free: 3.09 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.02932, allocations: 4.188 kB / 317.2 MB, free: 3.086 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.02933, allocations: 4 kB / 317.2 MB, free: 3.082 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001591/0.02949, allocations: 149 kB / 317.4 MB, free: 2.895 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.511e-05/0.02954, allocations: 27.81 kB / 317.4 MB, free: 2.867 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.07e-05/0.02958, allocations: 7.984 kB / 317.4 MB, free: 2.859 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.332e-05/0.02965, allocations: 0 / 317.4 MB, free: 2.859 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.339e-05/0.02968, allocations: 11.88 kB / 317.4 MB, free: 2.848 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.285e-06/0.02969, allocations: 8.125 kB / 317.4 MB, free: 2.84 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001719/0.02986, allocations: 148.7 kB / 317.6 MB, free: 2.691 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02986, allocations: 0 / 317.6 MB, free: 2.691 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005338/0.03039, allocations: 123.6 kB / 317.7 MB, free: 2.57 MB / 282.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.000363/0.03076, allocations: 180 kB / 317.9 MB, free: 2.383 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002231/0.03098, allocations: 122.2 kB / 318 MB, free: 2.262 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-05/0.03099, allocations: 4 kB / 318 MB, free: 2.258 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.344e-05/0.03103, allocations: 28.84 kB / 318 MB, free: 2.227 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003926/0.03142, allocations: 76.12 kB / 318.1 MB, free: 2.16 MB / 282.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001402/0.03282, allocations: 0.5511 MB / 318.7 MB, free: 1.566 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.984e-05/0.03289, allocations: 92.3 kB / 318.7 MB, free: 1.457 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000266/0.03316, allocations: 72.45 kB / 318.8 MB, free: 1.387 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002194/0.03338, allocations: 119.3 kB / 318.9 MB, free: 1.27 MB / 282.7 MB Notification: Performance of SimCode: time 9.82e-07/0.03338, allocations: 0 / 318.9 MB, free: 1.27 MB / 282.7 MB Notification: Performance of Templates: time 0.01103/0.04441, allocations: 5.234 MB / 324.2 MB, free: 12.14 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.834600307047367]