Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.002061/0.002061, allocations: 88.72 kB / 19.44 MB, free: 356 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.002589/0.002589, allocations: 161.7 kB / 22.76 MB, free: 1.68 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.547/1.547, allocations: 177.1 MB / 203.1 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.147/0.147, allocations: 17.45 MB / 277 MB, free: 11.58 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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_master_Chemical.Obsolete.Examples.SimpleReaction2") translateModel(Chemical.Obsolete.Examples.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 3.938 kB / 352.8 MB, free: 10.22 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.623e-05/2.801e-05, allocations: 6.25 kB / 352.8 MB, free: 10.21 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:14335:7-14335: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 master/Obsolete.mo:14335:7-14335: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.03947/0.0395, allocations: 26 MB / 378.8 MB, free: 368 kB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01597/0.05547, allocations: 10.26 MB / 389.1 MB, free: 6.059 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001071/0.05654, allocations: 15.88 kB / 389.1 MB, free: 6.043 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009921/0.05753, allocations: 238 kB / 389.3 MB, free: 5.809 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003561/0.0611, allocations: 1.035 MB / 390.3 MB, free: 4.766 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004687/0.06578, allocations: 1.58 MB / 391.9 MB, free: 3.176 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00228/0.06806, allocations: 1.29 MB / 393.2 MB, free: 1.879 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001107/0.06917, allocations: 0.5889 MB / 393.8 MB, free: 1.27 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001512/0.07068, allocations: 0.8501 MB / 394.7 MB, free: 428 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001248/0.07193, allocations: 0.5456 MB / 395.2 MB, free: 15.87 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003002/0.07223, allocations: 104 kB / 395.3 MB, free: 15.77 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003706/0.07594, allocations: 1.232 MB / 396.5 MB, free: 14.54 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004686/0.0764, allocations: 271.1 kB / 396.8 MB, free: 14.27 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006196/0.07702, allocations: 403.2 kB / 397.2 MB, free: 13.88 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005456/0.08248, allocations: 2.74 MB / 399.9 MB, free: 11.12 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.08248, allocations: 0 / 399.9 MB, free: 11.12 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.08249, allocations: 0 / 399.9 MB, free: 11.12 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.3e-05/0.0825, allocations: 4 kB / 399.9 MB, free: 11.12 MB / 330.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.00292/0.08542, allocations: 1.438 MB / 401.4 MB, free: 9.648 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.08546, allocations: 8.031 kB / 401.4 MB, free: 9.641 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00121/0.08667, allocations: 351 kB / 401.7 MB, free: 9.297 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009917/0.08766, allocations: 0.5187 MB / 402.2 MB, free: 8.75 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001508/0.08781, allocations: 122 kB / 402.4 MB, free: 8.617 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001843/0.088, allocations: 100.3 kB / 402.5 MB, free: 8.52 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001939/0.08993, allocations: 1.05 MB / 403.5 MB, free: 7.453 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.197e-05/0.08996, allocations: 192 / 403.5 MB, free: 7.453 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001115/0.09007, allocations: 40.12 kB / 403.5 MB, free: 7.414 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.307e-05/0.09009, allocations: 20 kB / 403.6 MB, free: 7.395 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002481/0.09257, allocations: 1.261 MB / 404.8 MB, free: 6.133 MB / 330.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.005828/0.0984, allocations: 2.74 MB / 407.6 MB, free: 3.316 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002516/0.1009, allocations: 1.231 MB / 408.8 MB, free: 2.082 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007171/0.1016, allocations: 391.7 kB / 409.2 MB, free: 1.691 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1433/0.2449, allocations: 2.156 MB / 411.3 MB, free: 62.36 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.2449, allocations: 37.91 kB / 411.4 MB, free: 62.32 MB / 330.7 MB Notification: Performance of pre-optimization done (n=56): time 2.905e-06/0.2449, allocations: 0 / 411.4 MB, free: 62.32 MB / 330.7 MB Notification: Performance of matching and sorting (n=63): time 0.003361/0.2483, allocations: 1.612 MB / 413 MB, free: 61.93 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.439e-05/0.2483, allocations: 61.66 kB / 413 MB, free: 61.86 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005918/0.2489, allocations: 0.5005 MB / 413.5 MB, free: 61.63 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.431e-05/0.249, allocations: 35.33 kB / 413.6 MB, free: 61.59 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002282/0.2492, allocations: 475.9 kB / 414 MB, free: 61.27 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001407/0.2493, allocations: 235.8 kB / 414.3 MB, free: 61.11 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002145/0.2495, allocations: 172.8 kB / 414.4 MB, free: 61.03 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.296e-05/0.2496, allocations: 372.5 kB / 414.8 MB, free: 60.69 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003778/0.25, allocations: 210.3 kB / 415 MB, free: 60.62 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004815/0.2505, allocations: 0.5288 MB / 415.5 MB, free: 60.14 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008981/0.2514, allocations: 0.8158 MB / 416.4 MB, free: 59.51 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.2514, allocations: 2.75 kB / 416.4 MB, free: 59.51 MB / 330.7 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.001344/0.2527, allocations: 0.8947 MB / 417.3 MB, free: 59.14 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/0.2528, allocations: 11.75 kB / 417.3 MB, free: 59.14 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.798e-05/0.2528, allocations: 12.16 kB / 417.3 MB, free: 59.14 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.747e-05/0.2528, allocations: 16.06 kB / 417.3 MB, free: 59.14 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009786/0.2538, allocations: 269.1 kB / 417.6 MB, free: 59.12 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.407e-05/0.2538, allocations: 21.81 kB / 417.6 MB, free: 59.11 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004729/0.2543, allocations: 31.39 kB / 417.6 MB, free: 59.1 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.883e-05/0.2544, allocations: 54.14 kB / 417.7 MB, free: 59.09 MB / 330.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.000281/0.2547, allocations: 237.1 kB / 417.9 MB, free: 58.9 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001295/0.2548, allocations: 85.39 kB / 418 MB, free: 58.86 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001283/0.2561, allocations: 0.6837 MB / 418.7 MB, free: 58.59 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.116e-06/0.2561, allocations: 7.969 kB / 418.7 MB, free: 58.59 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.2561, allocations: 3.938 kB / 418.7 MB, free: 58.59 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.2561, allocations: 4.5 kB / 418.7 MB, free: 58.59 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008136/0.2569, allocations: 0.578 MB / 419.3 MB, free: 58.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.2569, allocations: 1.125 kB / 419.3 MB, free: 58.25 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007686/0.2577, allocations: 178.8 kB / 419.4 MB, free: 58.23 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.025e-06/0.2577, allocations: 4.062 kB / 419.4 MB, free: 58.23 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.575e-05/0.2577, allocations: 19.27 kB / 419.5 MB, free: 58.22 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.2577, allocations: 4.391 kB / 419.5 MB, free: 58.22 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.2577, allocations: 2.125 kB / 419.5 MB, free: 58.22 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001375/0.2591, allocations: 0.9726 MB / 420.4 MB, free: 57.73 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002438/0.2594, allocations: 119.1 kB / 420.6 MB, free: 57.66 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.758e-05/0.2595, allocations: 16.89 kB / 420.6 MB, free: 57.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002788/0.2597, allocations: 12.97 kB / 420.6 MB, free: 57.65 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001377/0.2599, allocations: 57.31 kB / 420.6 MB, free: 57.63 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.825e-05/0.2599, allocations: 29.39 kB / 420.7 MB, free: 57.63 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003378/0.2603, allocations: 318.3 kB / 421 MB, free: 57.48 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2603, allocations: 0 / 421 MB, free: 57.48 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001347/0.2616, allocations: 491 kB / 421.5 MB, free: 57.44 MB / 330.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.001045/0.2626, allocations: 0.618 MB / 422.1 MB, free: 57.27 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009838/0.2636, allocations: 0.5796 MB / 422.7 MB, free: 57.09 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.2636, allocations: 0 / 422.7 MB, free: 57.09 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003895/0.264, allocations: 262.5 kB / 422.9 MB, free: 57 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008946/0.2649, allocations: 164.4 kB / 423.1 MB, free: 56.96 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002172/0.2671, allocations: 1.449 MB / 424.5 MB, free: 56.16 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002681/0.2674, allocations: 366.4 kB / 424.9 MB, free: 56.05 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005294/0.2679, allocations: 168.2 kB / 425 MB, free: 56.04 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002097/0.2681, allocations: 97.36 kB / 425.1 MB, free: 56.03 MB / 330.7 MB Notification: Performance of SimCode: time 1.292e-06/0.2681, allocations: 0 / 425.1 MB, free: 56.03 MB / 330.7 MB Notification: Performance of Templates: time 0.01906/0.2872, allocations: 14.28 MB / 439.4 MB, free: 44.75 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.sim & ./Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.413642439059913]