Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.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.001775/0.001775, 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.003271/0.003271, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.651/1.651, 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.1444/0.1444, allocations: 17.37 MB / 276.9 MB, free: 11.68 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.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 352.7 MB, free: 10.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.075e-05/3.228e-05, allocations: 5.125 kB / 352.7 MB, free: 10.34 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:12638:6-12638:65:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:12638:6-12638:65:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2): time 0.03768/0.03771, allocations: 24.92 MB / 377.6 MB, free: 1.562 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01376/0.05148, allocations: 9.204 MB / 386.8 MB, free: 8.32 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005758/0.05205, allocations: 11.88 kB / 386.8 MB, free: 8.309 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007722/0.05282, allocations: 198.4 kB / 387 MB, free: 8.113 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001273/0.0541, allocations: 380.9 kB / 387.4 MB, free: 7.738 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004897/0.05899, allocations: 1.49 MB / 388.9 MB, free: 6.238 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001232/0.06023, allocations: 0.689 MB / 389.6 MB, free: 5.547 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003928/0.06062, allocations: 205.7 kB / 389.8 MB, free: 5.34 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005675/0.06119, allocations: 419.2 kB / 390.2 MB, free: 4.93 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005697/0.06176, allocations: 299.3 kB / 390.5 MB, free: 4.637 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001085/0.06186, allocations: 36 kB / 390.5 MB, free: 4.602 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002331/0.0642, allocations: 0.7797 MB / 391.3 MB, free: 3.82 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001837/0.06438, allocations: 119.6 kB / 391.4 MB, free: 3.703 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002828/0.06466, allocations: 187.5 kB / 391.6 MB, free: 3.52 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003236/0.0679, allocations: 1.619 MB / 393.2 MB, free: 1.895 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.899e-06/0.06791, allocations: 4 kB / 393.2 MB, free: 1.891 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.06791, allocations: 0 / 393.2 MB, free: 1.891 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.185e-05/0.06792, allocations: 4 kB / 393.2 MB, free: 1.887 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001716/0.06964, allocations: 1 MB / 394.2 MB, free: 0.8438 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.06968, allocations: 11.97 kB / 394.2 MB, free: 0.832 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009474/0.07063, allocations: 255.4 kB / 394.5 MB, free: 0.582 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008078/0.07143, allocations: 414.4 kB / 394.9 MB, free: 152 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.976e-05/0.07146, allocations: 25.03 kB / 394.9 MB, free: 128 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.276e-05/0.07154, allocations: 32.38 kB / 395 MB, free: 96 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009774/0.07251, allocations: 0.5438 MB / 395.5 MB, free: 15.5 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/0.07253, allocations: 3.938 kB / 395.5 MB, free: 15.5 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.552e-05/0.07259, allocations: 16 kB / 395.5 MB, free: 15.48 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.467e-05/0.0726, allocations: 11.94 kB / 395.5 MB, free: 15.47 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001397/0.074, allocations: 0.7754 MB / 396.3 MB, free: 14.7 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003279/0.07728, allocations: 2.205 MB / 398.5 MB, free: 12.42 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004702/0.07775, allocations: 195 kB / 398.7 MB, free: 12.21 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002681/0.07801, allocations: 123.6 kB / 398.8 MB, free: 12.09 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003173/0.08119, allocations: 1.416 MB / 400.2 MB, free: 10.65 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.474e-05/0.08122, allocations: 37.33 kB / 400.3 MB, free: 10.61 MB / 330.7 MB Notification: Performance of pre-optimization done (n=17): time 1.312e-06/0.08122, allocations: 0 / 400.3 MB, free: 10.61 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006608/0.08188, allocations: 257.3 kB / 400.5 MB, free: 10.35 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.869e-05/0.08194, allocations: 55.41 kB / 400.6 MB, free: 10.28 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007149/0.08266, allocations: 0.5727 MB / 401.1 MB, free: 9.691 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.114e-05/0.08269, allocations: 25.7 kB / 401.2 MB, free: 9.66 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003422/0.08303, allocations: 370.6 kB / 401.5 MB, free: 9.293 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.124e-05/0.08311, allocations: 75.44 kB / 401.6 MB, free: 9.219 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001808/0.08329, allocations: 103.8 kB / 401.7 MB, free: 9.109 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0004633/0.08376, allocations: 0.5508 MB / 402.3 MB, free: 8.547 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001911/0.08395, allocations: 80.89 kB / 402.3 MB, free: 8.469 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006944/0.08464, allocations: 483.3 kB / 402.8 MB, free: 7.812 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008872/0.08553, allocations: 0.5917 MB / 403.4 MB, free: 7.039 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.616e-06/0.08554, allocations: 7.938 kB / 403.4 MB, free: 7.031 MB / 330.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008533/0.08639, allocations: 484.8 kB / 403.9 MB, free: 6.551 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.08641, allocations: 10.81 kB / 403.9 MB, free: 6.543 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/0.08643, allocations: 12 kB / 403.9 MB, free: 6.531 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.862e-05/0.08646, allocations: 12.81 kB / 403.9 MB, free: 6.52 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003474/0.0868, allocations: 119.8 kB / 404 MB, free: 6.402 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.991e-05/0.08682, allocations: 23.94 kB / 404.1 MB, free: 6.379 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000271/0.08709, allocations: 47.62 kB / 404.1 MB, free: 6.332 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.263e-05/0.08717, allocations: 39.98 kB / 404.1 MB, free: 6.293 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (50): * Single equations (assignments): 50 * 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.0002471/0.08741, allocations: 224.3 kB / 404.4 MB, free: 6.062 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.173e-05/0.08751, allocations: 43.72 kB / 404.4 MB, free: 6.02 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008773/0.08838, allocations: 437.5 kB / 404.8 MB, free: 5.539 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.686e-06/0.08839, allocations: 0 / 404.8 MB, free: 5.539 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.08839, allocations: 0 / 404.8 MB, free: 5.539 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.08839, allocations: 0 / 404.8 MB, free: 5.539 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00103/0.08942, allocations: 0.76 MB / 405.6 MB, free: 4.711 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/0.08943, allocations: 4 kB / 405.6 MB, free: 4.707 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.005e-05/0.0895, allocations: 8 kB / 405.6 MB, free: 4.699 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.385e-06/0.08951, allocations: 7.984 kB / 405.6 MB, free: 4.691 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.08952, allocations: 0 / 405.6 MB, free: 4.691 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.394e-06/0.08953, allocations: 7.984 kB / 405.6 MB, free: 4.684 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.08953, allocations: 0 / 405.6 MB, free: 4.684 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003097/0.08984, allocations: 202.7 kB / 405.8 MB, free: 4.441 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/0.08995, allocations: 47.64 kB / 405.9 MB, free: 4.395 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.9e-05/0.09001, allocations: 7.953 kB / 405.9 MB, free: 4.387 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.09012, allocations: 8 kB / 405.9 MB, free: 4.379 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.845e-05/0.09016, allocations: 15.86 kB / 405.9 MB, free: 4.363 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.818e-06/0.09017, allocations: 4 kB / 405.9 MB, free: 4.359 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000518/0.09069, allocations: 418.8 kB / 406.3 MB, free: 3.953 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.09069, allocations: 0 / 406.3 MB, free: 3.953 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008693/0.09156, allocations: 255.1 kB / 406.6 MB, free: 3.703 MB / 330.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.0007765/0.09233, allocations: 414.7 kB / 407 MB, free: 3.289 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000462/0.0928, allocations: 234.1 kB / 407.2 MB, free: 3.059 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.0928, allocations: 0 / 407.2 MB, free: 3.059 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.528e-05/0.09285, allocations: 27.75 kB / 407.2 MB, free: 3.027 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005581/0.09341, allocations: 118.6 kB / 407.3 MB, free: 2.91 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001228/0.09464, allocations: 0.6614 MB / 408 MB, free: 2.191 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002468/0.09489, allocations: 211.8 kB / 408.2 MB, free: 1.969 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003578/0.09525, allocations: 119.1 kB / 408.3 MB, free: 1.852 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001215/0.09537, allocations: 56.48 kB / 408.4 MB, free: 1.797 MB / 330.7 MB Notification: Performance of SimCode: time 6.91e-07/0.09537, allocations: 0 / 408.4 MB, free: 1.797 MB / 330.7 MB Notification: Performance of Templates: time 0.1643/0.2597, allocations: 8.284 MB / 416.7 MB, free: 61.78 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.sim & ./Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.11199016997125]