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.002383/0.002383, allocations: 85.48 kB / 19.44 MB, free: 344 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.003115/0.003115, allocations: 173.2 kB / 22.76 MB, free: 1.66 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.615/1.615, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.1457/0.1457, allocations: 17.38 MB / 276.9 MB, free: 11.67 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.312e-06/1.312e-06, allocations: 0 / 352.7 MB, free: 10.31 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.151e-05/3.282e-05, allocations: 2.312 kB / 352.7 MB, free: 10.31 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction): time 0.005109/0.005142, allocations: 2.984 MB / 355.7 MB, free: 7.297 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0094/0.01454, allocations: 6.301 MB / 362 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004667/0.01501, allocations: 7.938 kB / 362 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006744/0.01568, allocations: 150.8 kB / 362.1 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009028/0.01659, allocations: 269.8 kB / 362.4 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002948/0.01953, allocations: 0.9972 MB / 363.4 MB, free: 15.55 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008927/0.02043, allocations: 0.4985 MB / 363.9 MB, free: 15.05 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002983/0.02072, allocations: 140.7 kB / 364 MB, free: 14.91 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004073/0.02113, allocations: 307.4 kB / 364.3 MB, free: 14.61 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000421/0.02155, allocations: 211.5 kB / 364.5 MB, free: 14.4 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.01e-05/0.02163, allocations: 28 kB / 364.6 MB, free: 14.38 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001477/0.02311, allocations: 0.5301 MB / 365.1 MB, free: 13.84 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001533/0.02326, allocations: 83.67 kB / 365.2 MB, free: 13.76 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001936/0.02346, allocations: 127.7 kB / 365.3 MB, free: 13.64 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001941/0.0254, allocations: 1.093 MB / 366.4 MB, free: 12.54 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.0254, allocations: 0 / 366.4 MB, free: 12.54 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.128e-06/0.02541, allocations: 4 kB / 366.4 MB, free: 12.54 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.804e-06/0.02541, allocations: 0 / 366.4 MB, free: 12.54 MB / 298.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.001398/0.02681, allocations: 0.8062 MB / 367.2 MB, free: 11.69 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.02686, allocations: 12.03 kB / 367.2 MB, free: 11.68 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006583/0.02752, allocations: 171.7 kB / 367.4 MB, free: 11.51 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006175/0.02813, allocations: 328.3 kB / 367.7 MB, free: 11.16 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.06e-05/0.02816, allocations: 16.88 kB / 367.7 MB, free: 11.15 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.423e-05/0.02821, allocations: 24.38 kB / 367.8 MB, free: 11.12 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000683/0.02889, allocations: 399 kB / 368.1 MB, free: 10.7 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.02891, allocations: 7.938 kB / 368.2 MB, free: 10.69 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.959e-05/0.02895, allocations: 8 kB / 368.2 MB, free: 10.68 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.02896, allocations: 11.94 kB / 368.2 MB, free: 10.67 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009459/0.0299, allocations: 0.5239 MB / 368.7 MB, free: 10.15 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002397/0.0323, allocations: 1.649 MB / 370.3 MB, free: 8.434 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003659/0.03267, allocations: 155 kB / 370.5 MB, free: 8.27 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000193/0.03286, allocations: 84.09 kB / 370.6 MB, free: 8.184 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002238/0.0351, allocations: 1.061 MB / 371.6 MB, free: 7.102 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.03513, allocations: 33.39 kB / 371.7 MB, free: 7.059 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.553e-06/0.03513, allocations: 8 kB / 371.7 MB, free: 7.051 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005332/0.03566, allocations: 201 kB / 371.9 MB, free: 6.852 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.182e-05/0.03572, allocations: 55.41 kB / 371.9 MB, free: 6.785 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000517/0.03623, allocations: 462.5 kB / 372.4 MB, free: 6.316 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.205e-05/0.03627, allocations: 29.7 kB / 372.4 MB, free: 6.281 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002763/0.03654, allocations: 298.6 kB / 372.7 MB, free: 5.98 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.664e-05/0.0366, allocations: 51.64 kB / 372.8 MB, free: 5.93 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001309/0.03673, allocations: 75.31 kB / 372.8 MB, free: 5.848 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000315/0.03704, allocations: 0.5391 MB / 373.4 MB, free: 5.297 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/0.03717, allocations: 55.97 kB / 373.4 MB, free: 5.242 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003747/0.03754, allocations: 334.7 kB / 373.7 MB, free: 4.793 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005555/0.0381, allocations: 422.5 kB / 374.2 MB, free: 4.258 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/0.0381, allocations: 4 kB / 374.2 MB, free: 4.254 MB / 298.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006177/0.03872, allocations: 348.9 kB / 374.5 MB, free: 3.906 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.03874, allocations: 8 kB / 374.5 MB, free: 3.898 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.03875, allocations: 8 kB / 374.5 MB, free: 3.891 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.429e-05/0.03878, allocations: 8.75 kB / 374.5 MB, free: 3.883 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002463/0.03902, allocations: 75.84 kB / 374.6 MB, free: 3.809 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.635e-05/0.03904, allocations: 15.94 kB / 374.6 MB, free: 3.793 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001919/0.03923, allocations: 39.77 kB / 374.7 MB, free: 3.754 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-05/0.03928, allocations: 23.98 kB / 374.7 MB, free: 3.73 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.0001934/0.03947, allocations: 200.4 kB / 374.9 MB, free: 3.523 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.064e-05/0.03955, allocations: 35.77 kB / 374.9 MB, free: 3.488 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006104/0.04016, allocations: 305.8 kB / 375.2 MB, free: 3.152 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.04017, allocations: 8 kB / 375.2 MB, free: 3.145 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.04017, allocations: 0 / 375.2 MB, free: 3.145 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.04018, allocations: 0 / 375.2 MB, free: 3.145 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008342/0.04101, allocations: 0.6742 MB / 375.9 MB, free: 2.402 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.04101, allocations: 7.938 kB / 375.9 MB, free: 2.395 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.083e-05/0.04107, allocations: 8 kB / 375.9 MB, free: 2.387 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.04108, allocations: 7.938 kB / 375.9 MB, free: 2.379 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.737e-06/0.04109, allocations: 0 / 375.9 MB, free: 2.379 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.085e-06/0.0411, allocations: 8.172 kB / 375.9 MB, free: 2.371 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.0411, allocations: 7.938 kB / 375.9 MB, free: 2.363 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002511/0.04135, allocations: 182.6 kB / 376.1 MB, free: 2.141 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.294e-05/0.04143, allocations: 31.8 kB / 376.1 MB, free: 2.109 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.081e-05/0.04149, allocations: 7.938 kB / 376.1 MB, free: 2.102 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.891e-05/0.04157, allocations: 4 kB / 376.1 MB, free: 2.098 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.611e-05/0.04161, allocations: 15.92 kB / 376.2 MB, free: 2.082 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.04162, allocations: 0 / 376.2 MB, free: 2.082 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003795/0.04199, allocations: 331.1 kB / 376.5 MB, free: 1.758 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04199, allocations: 0 / 376.5 MB, free: 1.758 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006304/0.04263, allocations: 183.4 kB / 376.7 MB, free: 1.578 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.0006814/0.04331, allocations: 310.3 kB / 377 MB, free: 1.266 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003923/0.0437, allocations: 164.9 kB / 377.1 MB, free: 1.098 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.0437, allocations: 128 / 377.1 MB, free: 1.098 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.522e-05/0.04376, allocations: 35.73 kB / 377.2 MB, free: 1.059 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005123/0.04427, allocations: 86.84 kB / 377.3 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.04527, allocations: 0.5367 MB / 377.8 MB, free: 404 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002036/0.04548, allocations: 172.8 kB / 378 MB, free: 212 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002695/0.04575, allocations: 90.19 kB / 378 MB, free: 124 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.014e-05/0.04584, allocations: 36.48 kB / 378.1 MB, free: 88 kB / 298.7 MB Notification: Performance of SimCode: time 7.62e-07/0.04584, allocations: 3.938 kB / 378.1 MB, free: 84 kB / 298.7 MB Notification: Performance of Templates: time 0.01251/0.05835, allocations: 6.03 MB / 384.1 MB, free: 10.13 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: 4.916904703946784]