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.0009811/0.0009811, allocations: 73.97 kB / 20.65 MB, free: 3.844 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.001016/0.001016, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.9644/0.9644, allocations: 177.1 MB / 204.5 MB, free: 5.48 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.0855/0.0855, allocations: 17.38 MB / 278.4 MB, free: 11.47 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.433e-06/1.433e-06, allocations: 0 / 354.7 MB, free: 9.691 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.26e-05/1.404e-05, allocations: 2.312 kB / 354.7 MB, free: 9.688 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction): time 0.002784/0.002798, allocations: 2.877 MB / 357.5 MB, free: 6.785 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003576/0.006374, allocations: 3.448 MB / 361 MB, free: 3.324 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002124/0.006586, allocations: 7.938 kB / 361 MB, free: 3.316 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003294/0.006916, allocations: 111.1 kB / 361.1 MB, free: 3.207 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000416/0.007332, allocations: 202.3 kB / 361.3 MB, free: 3.008 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00105/0.008381, allocations: 0.5629 MB / 361.9 MB, free: 2.441 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005424/0.008924, allocations: 0.5062 MB / 362.4 MB, free: 1.934 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002061/0.00913, allocations: 136.8 kB / 362.5 MB, free: 1.801 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002429/0.009373, allocations: 299.5 kB / 362.8 MB, free: 1.508 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002729/0.009646, allocations: 211.5 kB / 363 MB, free: 1.301 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.037e-05/0.009686, allocations: 27.94 kB / 363 MB, free: 1.273 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004487/0.01013, allocations: 283.5 kB / 363.3 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.784e-05/0.01023, allocations: 83.69 kB / 363.4 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001203/0.01035, allocations: 131.7 kB / 363.5 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006678/0.01102, allocations: 0.6731 MB / 364.2 MB, free: 112 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.01102, allocations: 0 / 364.2 MB, free: 112 kB / 282.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.01102, allocations: 0 / 364.2 MB, free: 112 kB / 282.7 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.01103, allocations: 0 / 364.2 MB, free: 112 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.0006415/0.01167, allocations: 0.7443 MB / 364.9 MB, free: 15.32 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.054e-05/0.0117, allocations: 8.031 kB / 364.9 MB, free: 15.32 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003422/0.01204, allocations: 179.7 kB / 365.1 MB, free: 15.14 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003114/0.01235, allocations: 324.3 kB / 365.4 MB, free: 14.8 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.01237, allocations: 16.81 kB / 365.4 MB, free: 14.78 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.291e-05/0.0124, allocations: 24.38 kB / 365.5 MB, free: 14.76 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002863/0.01269, allocations: 315 kB / 365.8 MB, free: 14.41 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.0127, allocations: 7.875 kB / 365.8 MB, free: 14.41 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.334e-05/0.01272, allocations: 12 kB / 365.8 MB, free: 14.39 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.01273, allocations: 7.984 kB / 365.8 MB, free: 14.39 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003406/0.01307, allocations: 353.2 kB / 366.2 MB, free: 14.04 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001045/0.01412, allocations: 1.563 MB / 367.7 MB, free: 12.41 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001551/0.01427, allocations: 106.9 kB / 367.8 MB, free: 12.3 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.172e-05/0.01433, allocations: 43.67 kB / 367.9 MB, free: 12.25 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008335/0.01517, allocations: 0.8784 MB / 368.7 MB, free: 11.35 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.01519, allocations: 41.38 kB / 368.8 MB, free: 11.3 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.453e-06/0.01519, allocations: 0 / 368.8 MB, free: 11.3 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002389/0.01543, allocations: 148.2 kB / 368.9 MB, free: 11.15 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.203e-05/0.01546, allocations: 51.41 kB / 369 MB, free: 11.09 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002155/0.01568, allocations: 398.4 kB / 369.4 MB, free: 10.68 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.01569, allocations: 29.7 kB / 369.4 MB, free: 10.65 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/0.01582, allocations: 290.5 kB / 369.7 MB, free: 10.36 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.69e-05/0.01584, allocations: 43.64 kB / 369.7 MB, free: 10.31 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.682e-05/0.01591, allocations: 79.28 kB / 369.8 MB, free: 10.23 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.01605, allocations: 0.5234 MB / 370.3 MB, free: 9.691 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.743e-05/0.01608, allocations: 23.98 kB / 370.3 MB, free: 9.668 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000156/0.01624, allocations: 302.8 kB / 370.6 MB, free: 9.25 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002336/0.01647, allocations: 366.4 kB / 371 MB, free: 8.77 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.01648, allocations: 4 kB / 371 MB, free: 8.766 MB / 298.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002746/0.01675, allocations: 277.1 kB / 371.3 MB, free: 8.488 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.01677, allocations: 8 kB / 371.3 MB, free: 8.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.01677, allocations: 8 kB / 371.3 MB, free: 8.473 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.01679, allocations: 8 kB / 371.3 MB, free: 8.465 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.01691, allocations: 79.84 kB / 371.4 MB, free: 8.387 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.01692, allocations: 12.55 kB / 371.4 MB, free: 8.375 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.422e-05/0.01701, allocations: 35.78 kB / 371.4 MB, free: 8.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.387e-05/0.01704, allocations: 24 kB / 371.4 MB, free: 8.316 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.141e-05/0.01713, allocations: 184.3 kB / 371.6 MB, free: 8.125 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.93e-05/0.01717, allocations: 39.77 kB / 371.7 MB, free: 8.086 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003022/0.01747, allocations: 273.2 kB / 371.9 MB, free: 7.781 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.01747, allocations: 7.984 kB / 371.9 MB, free: 7.773 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.01748, allocations: 0 / 371.9 MB, free: 7.773 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.01748, allocations: 4 kB / 371.9 MB, free: 7.77 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003223/0.0178, allocations: 0.5653 MB / 372.5 MB, free: 7.145 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.0178, allocations: 0 / 372.5 MB, free: 7.145 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.705e-05/0.01783, allocations: 15.98 kB / 372.5 MB, free: 7.129 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.01783, allocations: 0 / 372.5 MB, free: 7.129 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.01784, allocations: 4 kB / 372.5 MB, free: 7.125 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.01784, allocations: 0 / 372.5 MB, free: 7.125 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.01784, allocations: 4 kB / 372.5 MB, free: 7.121 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001117/0.01795, allocations: 174.7 kB / 372.7 MB, free: 6.906 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.587e-05/0.01799, allocations: 35.75 kB / 372.7 MB, free: 6.871 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.464e-05/0.01801, allocations: 4 kB / 372.7 MB, free: 6.867 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.165e-05/0.01806, allocations: 4 kB / 372.7 MB, free: 6.863 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.745e-05/0.01807, allocations: 11.98 kB / 372.8 MB, free: 6.852 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-06/0.01808, allocations: 8 kB / 372.8 MB, free: 6.844 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001392/0.01822, allocations: 271 kB / 373 MB, free: 6.578 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01822, allocations: 0 / 373 MB, free: 6.578 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002625/0.01848, allocations: 115.6 kB / 373.1 MB, free: 6.465 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.0002136/0.01869, allocations: 210.8 kB / 373.3 MB, free: 6.25 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001498/0.01884, allocations: 120.7 kB / 373.5 MB, free: 6.129 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.01884, allocations: 0 / 373.5 MB, free: 6.129 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.135e-05/0.01887, allocations: 28.25 kB / 373.5 MB, free: 6.098 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002787/0.01914, allocations: 87.25 kB / 373.6 MB, free: 6.016 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.0008283/0.01997, allocations: 0.544 MB / 374.1 MB, free: 5.418 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.011e-05/0.02002, allocations: 88.31 kB / 374.2 MB, free: 5.312 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001528/0.02018, allocations: 82.59 kB / 374.3 MB, free: 5.234 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001384/0.02031, allocations: 150.1 kB / 374.4 MB, free: 5.086 MB / 298.7 MB Notification: Performance of SimCode: time 5.51e-07/0.02031, allocations: 0 / 374.4 MB, free: 5.086 MB / 298.7 MB Notification: Performance of Templates: time 0.006687/0.027, allocations: 5.29 MB / 379.7 MB, free: 15.89 MB / 314.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: 2.817343998234719]