Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.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.0009914/0.0009914, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001318/0.00231, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0009882/0.0009882, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001278/0.002267, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.021/1.021, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09192/1.113, allocations: 53.65 MB / 243.2 MB, free: 15.58 MB / 250.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.09603/0.09603, allocations: 17.37 MB / 261.3 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01265/0.1087, allocations: 6.921 MB / 268.3 MB, free: 6.512 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.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.SimpleReaction2") translateModel(Chemical.Obsolete.Examples.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.SimpleReaction2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 269.5 MB, free: 5.234 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.202e-05/2.351e-05, allocations: 5.969 kB / 269.5 MB, free: 5.23 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337:66: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:14337:7-14337:66: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.SimpleReaction2): time 0.1782/0.1782, allocations: 5.204 MB / 274.7 MB, free: 1.59 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.03669/0.2149, allocations: 11.68 MB / 286.4 MB, free: 12.5 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007461/0.2157, allocations: 15.31 kB / 286.4 MB, free: 12.49 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003302/0.219, allocations: 241.4 kB / 286.7 MB, free: 12.36 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003338/0.2223, allocations: 1.016 MB / 287.7 MB, free: 11.71 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005683/0.228, allocations: 1.575 MB / 289.3 MB, free: 10.76 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002252/0.2302, allocations: 1.291 MB / 290.6 MB, free: 10.09 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001047/0.2313, allocations: 0.5962 MB / 291.2 MB, free: 9.711 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001705/0.233, allocations: 0.9079 MB / 292.1 MB, free: 9.367 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001298/0.2343, allocations: 0.5464 MB / 292.6 MB, free: 9.234 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004169/0.2347, allocations: 106.8 kB / 292.7 MB, free: 9.234 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005129/0.2398, allocations: 1.296 MB / 294 MB, free: 8.902 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003245/0.2402, allocations: 192.1 kB / 294.2 MB, free: 8.855 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007506/0.2409, allocations: 318.2 kB / 294.5 MB, free: 8.82 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006949/0.2479, allocations: 2.147 MB / 296.7 MB, free: 7.586 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.08e-05/0.2479, allocations: 0 / 296.7 MB, free: 7.586 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.2479, allocations: 0 / 296.7 MB, free: 7.586 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.284e-05/0.2479, allocations: 0 / 296.7 MB, free: 7.586 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.003594/0.2515, allocations: 1.781 MB / 298.4 MB, free: 5.773 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.2516, allocations: 8.031 kB / 298.4 MB, free: 5.766 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001064/0.2526, allocations: 404.7 kB / 298.8 MB, free: 5.352 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008708/0.2535, allocations: 435.2 kB / 299.3 MB, free: 4.898 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001214/0.2536, allocations: 128.7 kB / 299.4 MB, free: 4.766 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001486/0.2538, allocations: 92.33 kB / 299.5 MB, free: 4.676 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008615/0.2546, allocations: 0.7873 MB / 300.3 MB, free: 3.863 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/0.2546, allocations: 192 / 300.3 MB, free: 3.863 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.072e-05/0.2547, allocations: 40.12 kB / 300.3 MB, free: 3.824 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.281e-05/0.2547, allocations: 20 kB / 300.3 MB, free: 3.805 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006642/0.2554, allocations: 0.6448 MB / 301 MB, free: 3.16 MB / 282.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002572/0.2579, allocations: 2.118 MB / 303.1 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00118/0.2591, allocations: 1.236 MB / 304.3 MB, free: 15.73 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001919/0.2593, allocations: 203.8 kB / 304.5 MB, free: 15.53 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002595/0.2619, allocations: 1.826 MB / 306.4 MB, free: 13.69 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/0.2619, allocations: 40.31 kB / 306.4 MB, free: 13.64 MB / 298.7 MB Notification: Performance of pre-optimization done (n=56): time 2.364e-06/0.2619, allocations: 0 / 306.4 MB, free: 13.64 MB / 298.7 MB Notification: Performance of matching and sorting (n=63): time 0.001496/0.2634, allocations: 1.111 MB / 307.5 MB, free: 12.5 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.159e-05/0.2635, allocations: 60.06 kB / 307.6 MB, free: 12.43 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002822/0.2638, allocations: 462.8 kB / 308 MB, free: 11.97 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.868e-05/0.2638, allocations: 41.7 kB / 308.1 MB, free: 11.92 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001656/0.2639, allocations: 436.6 kB / 308.5 MB, free: 11.49 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001172/0.2641, allocations: 230 kB / 308.7 MB, free: 11.26 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001271/0.2642, allocations: 186.4 kB / 308.9 MB, free: 11.07 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.2643, allocations: 386.6 kB / 309.3 MB, free: 10.69 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001011/0.2644, allocations: 88.78 kB / 309.4 MB, free: 10.6 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002323/0.2646, allocations: 430.5 kB / 309.8 MB, free: 10.02 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004456/0.2651, allocations: 0.6138 MB / 310.4 MB, free: 9.262 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.2651, allocations: 4 kB / 310.4 MB, free: 9.258 MB / 298.7 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.0005245/0.2656, allocations: 0.5349 MB / 310.9 MB, free: 8.715 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.2656, allocations: 8 kB / 310.9 MB, free: 8.707 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.2656, allocations: 12 kB / 310.9 MB, free: 8.695 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.2657, allocations: 16 kB / 311 MB, free: 8.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005404/0.2662, allocations: 316.3 kB / 311.3 MB, free: 8.371 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.464e-05/0.2662, allocations: 23.92 kB / 311.3 MB, free: 8.348 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002062/0.2664, allocations: 24.88 kB / 311.3 MB, free: 8.324 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.365e-05/0.2665, allocations: 43.98 kB / 311.4 MB, free: 8.281 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (115): * Single equations (assignments): 115 * 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.0001464/0.2666, allocations: 176.3 kB / 311.5 MB, free: 8.098 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.117e-05/0.2667, allocations: 47.95 kB / 311.6 MB, free: 8.051 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008219/0.2675, allocations: 460 kB / 312 MB, free: 7.598 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.2675, allocations: 8 kB / 312 MB, free: 7.59 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.2675, allocations: 0 / 312 MB, free: 7.59 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.2675, allocations: 0 / 312 MB, free: 7.59 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005248/0.268, allocations: 0.5201 MB / 312.6 MB, free: 7.027 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/0.268, allocations: 2.875 kB / 312.6 MB, free: 7.027 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004127/0.2685, allocations: 207.8 kB / 312.8 MB, free: 6.824 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001352/0.2686, allocations: 83.52 kB / 312.8 MB, free: 6.742 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.2686, allocations: 4 kB / 312.8 MB, free: 6.738 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.311e-05/0.2686, allocations: 20.11 kB / 312.9 MB, free: 6.719 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.2686, allocations: 8 kB / 312.9 MB, free: 6.711 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.2686, allocations: 4 kB / 312.9 MB, free: 6.707 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004979/0.2691, allocations: 0.5888 MB / 313.5 MB, free: 6.09 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.253e-05/0.2692, allocations: 16 kB / 313.5 MB, free: 6.074 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.2693, allocations: 12 kB / 313.5 MB, free: 6.062 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.156e-05/0.2694, allocations: 60.5 kB / 313.6 MB, free: 6.004 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.524e-05/0.2694, allocations: 19.98 kB / 313.6 MB, free: 5.984 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001351/0.2695, allocations: 188.4 kB / 313.8 MB, free: 5.801 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2695, allocations: 7.938 kB / 313.8 MB, free: 5.793 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001016/0.2705, allocations: 490.5 kB / 314.2 MB, free: 5.312 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (solution.temperature,A.logn,B.logn,C.logn) * 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 (71): * Single equations (assignments): 71 * 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.0009253/0.2715, allocations: 0.6319 MB / 314.9 MB, free: 4.672 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004349/0.2719, allocations: 411.1 kB / 315.3 MB, free: 4.273 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.55e-05/0.2719, allocations: 16.5 kB / 315.3 MB, free: 4.258 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001504/0.2721, allocations: 193.9 kB / 315.5 MB, free: 4.062 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004503/0.2725, allocations: 243.6 kB / 315.7 MB, free: 3.844 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006116/0.2786, allocations: 1.415 MB / 317.1 MB, free: 2.371 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001056/0.2787, allocations: 167.3 kB / 317.3 MB, free: 2.184 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.00036/0.2791, allocations: 158.7 kB / 317.5 MB, free: 2.031 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003109/0.2794, allocations: 233.2 kB / 317.7 MB, free: 1.805 MB / 298.7 MB Notification: Performance of SimCode: time 1.142e-06/0.2794, allocations: 4 kB / 317.7 MB, free: 1.801 MB / 298.7 MB Notification: Performance of Templates: time 0.01869/0.2981, allocations: 16.76 MB / 334.4 MB, free: 1.223 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.SimpleReaction2.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.SimpleReaction2.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.SimpleReaction2.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.SimpleReaction2.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.SimpleReaction2.sim & ./Chemical_Chemical.Obsolete.Examples.SimpleReaction2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.SimpleReaction2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.192968111485243]