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.0009043/0.0009043, 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.0009884/0.0009884, 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.9264/0.9264, 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 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.08603/0.08603, allocations: 17.39 MB / 277.6 MB, free: 11.5 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.442e-06/1.442e-06, allocations: 0 / 353.9 MB, free: 9.699 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.228e-05/1.373e-05, allocations: 2.312 kB / 353.9 MB, free: 9.695 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction): time 0.002795/0.002808, allocations: 2.862 MB / 356.8 MB, free: 6.805 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002906/0.005715, allocations: 3.452 MB / 360.2 MB, free: 3.34 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001446/0.005859, allocations: 7.938 kB / 360.2 MB, free: 3.332 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002751/0.006134, allocations: 103.1 kB / 360.3 MB, free: 3.23 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003533/0.006488, allocations: 202.3 kB / 360.5 MB, free: 3.031 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008416/0.007329, allocations: 0.5629 MB / 361.1 MB, free: 2.465 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004838/0.007813, allocations: 0.5062 MB / 361.6 MB, free: 1.957 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000198/0.008011, allocations: 148.7 kB / 361.7 MB, free: 1.812 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002225/0.008234, allocations: 303.4 kB / 362 MB, free: 1.516 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002241/0.008458, allocations: 207.5 kB / 362.2 MB, free: 1.312 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.971e-05/0.008497, allocations: 28 kB / 362.3 MB, free: 1.285 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004095/0.008907, allocations: 279.4 kB / 362.5 MB, free: 1.012 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.685e-05/0.008984, allocations: 83.72 kB / 362.6 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.908e-05/0.009073, allocations: 123.7 kB / 362.7 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006149/0.009688, allocations: 0.6731 MB / 363.4 MB, free: 136 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.00969, allocations: 0 / 363.4 MB, free: 136 kB / 282.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.00969, allocations: 4 kB / 363.4 MB, free: 132 kB / 282.7 MB Notification: Performance of Transformations before backend: time 4.698e-06/0.009695, allocations: 0 / 363.4 MB, free: 132 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.0006799/0.01037, allocations: 0.7519 MB / 364.2 MB, free: 15.34 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.01041, allocations: 12.03 kB / 364.2 MB, free: 15.33 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003403/0.01075, allocations: 175.7 kB / 364.3 MB, free: 15.16 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002968/0.01105, allocations: 316.4 kB / 364.7 MB, free: 14.82 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.01106, allocations: 16.88 kB / 364.7 MB, free: 14.8 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.893e-05/0.01109, allocations: 28.31 kB / 364.7 MB, free: 14.78 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002695/0.01136, allocations: 311 kB / 365 MB, free: 14.44 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.01137, allocations: 7.875 kB / 365 MB, free: 14.43 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.138e-05/0.01139, allocations: 12 kB / 365 MB, free: 14.42 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.0114, allocations: 8 kB / 365 MB, free: 14.41 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003273/0.01173, allocations: 357.2 kB / 365.4 MB, free: 14.06 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/0.01276, allocations: 1.566 MB / 366.9 MB, free: 12.43 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001468/0.0129, allocations: 98.94 kB / 367 MB, free: 12.32 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.086e-05/0.01296, allocations: 51.66 kB / 367.1 MB, free: 12.27 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001036/0.014, allocations: 0.8868 MB / 368 MB, free: 11.37 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.01402, allocations: 41.33 kB / 368 MB, free: 11.32 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.021e-06/0.01402, allocations: 0 / 368 MB, free: 11.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002337/0.01426, allocations: 148.3 kB / 368.2 MB, free: 11.17 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.586e-05/0.01428, allocations: 55.41 kB / 368.2 MB, free: 11.11 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002149/0.0145, allocations: 390.4 kB / 368.6 MB, free: 10.71 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.01451, allocations: 29.7 kB / 368.6 MB, free: 10.67 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001239/0.01463, allocations: 290.5 kB / 368.9 MB, free: 10.38 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.816e-05/0.01466, allocations: 55.62 kB / 369 MB, free: 10.32 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.472e-05/0.01473, allocations: 75.28 kB / 369 MB, free: 10.24 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.01485, allocations: 0.5273 MB / 369.6 MB, free: 9.703 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.325e-05/0.01489, allocations: 19.98 kB / 369.6 MB, free: 9.684 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001425/0.01503, allocations: 298.8 kB / 369.9 MB, free: 9.27 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002265/0.01526, allocations: 358.5 kB / 370.2 MB, free: 8.797 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.01526, allocations: 3.938 kB / 370.2 MB, free: 8.793 MB / 298.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002743/0.01553, allocations: 289.5 kB / 370.5 MB, free: 8.504 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.01555, allocations: 8 kB / 370.5 MB, free: 8.496 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.01556, allocations: 4 kB / 370.5 MB, free: 8.492 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.01557, allocations: 8 kB / 370.5 MB, free: 8.484 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.01569, allocations: 75.91 kB / 370.6 MB, free: 8.41 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/0.0157, allocations: 15.92 kB / 370.6 MB, free: 8.395 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.26e-05/0.01579, allocations: 31.78 kB / 370.7 MB, free: 8.363 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.244e-05/0.01581, allocations: 24 kB / 370.7 MB, free: 8.34 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.015e-05/0.0159, allocations: 184.3 kB / 370.9 MB, free: 8.148 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.796e-05/0.01594, allocations: 39.83 kB / 370.9 MB, free: 8.109 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002972/0.01624, allocations: 285.9 kB / 371.2 MB, free: 7.789 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.01624, allocations: 0 / 371.2 MB, free: 7.789 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.275e-06/0.01624, allocations: 3.984 kB / 371.2 MB, free: 7.785 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.01625, allocations: 0 / 371.2 MB, free: 7.785 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003251/0.01657, allocations: 0.5654 MB / 371.7 MB, free: 7.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.01658, allocations: 4 kB / 371.8 MB, free: 7.156 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.785e-05/0.0166, allocations: 15.98 kB / 371.8 MB, free: 7.141 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.01661, allocations: 4 kB / 371.8 MB, free: 7.137 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.052e-06/0.01661, allocations: 4.062 kB / 371.8 MB, free: 7.133 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.085e-06/0.01662, allocations: 4 kB / 371.8 MB, free: 7.129 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.01662, allocations: 0 / 371.8 MB, free: 7.129 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001085/0.01673, allocations: 162.6 kB / 371.9 MB, free: 6.926 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.524e-05/0.01676, allocations: 39.75 kB / 372 MB, free: 6.887 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.179e-05/0.01678, allocations: 0 / 372 MB, free: 6.887 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.108e-05/0.01682, allocations: 12.03 kB / 372 MB, free: 6.875 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.628e-05/0.01684, allocations: 11.92 kB / 372 MB, free: 6.863 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-06/0.01684, allocations: 4 kB / 372 MB, free: 6.859 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001303/0.01697, allocations: 270.9 kB / 372.3 MB, free: 6.594 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01697, allocations: 0 / 372.3 MB, free: 6.594 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002795/0.01725, allocations: 115.6 kB / 372.4 MB, free: 6.48 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.0002186/0.01747, allocations: 210.8 kB / 372.6 MB, free: 6.266 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001536/0.01763, allocations: 127.7 kB / 372.7 MB, free: 6.137 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.01763, allocations: 0 / 372.7 MB, free: 6.137 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.005e-05/0.01765, allocations: 21.25 kB / 372.7 MB, free: 6.113 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002748/0.01792, allocations: 96.17 kB / 372.8 MB, free: 6.027 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.0008507/0.01877, allocations: 0.544 MB / 373.4 MB, free: 5.43 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.545e-05/0.01882, allocations: 88.3 kB / 373.5 MB, free: 5.324 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001477/0.01897, allocations: 70.94 kB / 373.5 MB, free: 5.254 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000142/0.01911, allocations: 154.1 kB / 373.7 MB, free: 5.102 MB / 298.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01911, allocations: 4 kB / 373.7 MB, free: 5.098 MB / 298.7 MB Notification: Performance of Templates: time 0.006381/0.02549, allocations: 5.233 MB / 378.9 MB, free: 15.94 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.607418681960553]