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.0006662/0.0006662, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000906/0.001572, 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.0007378/0.0007378, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008935/0.001631, 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 0.9635/0.9635, allocations: 177.1 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08017/1.044, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo): time 0.08798/0.08798, allocations: 17.45 MB / 261.4 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01249/0.1005, allocations: 6.96 MB / 268.4 MB, free: 6.402 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-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.482e-06/1.482e-06, allocations: 0 / 269.6 MB, free: 5.129 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.949e-05/2.097e-05, allocations: 2.312 kB / 269.7 MB, free: 5.125 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-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 2.0.1-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.1361/0.1361, allocations: 5.197 MB / 274.8 MB, free: 1.605 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009616/0.1457, allocations: 11.69 MB / 286.5 MB, free: 12.39 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005046/0.1462, allocations: 19.69 kB / 286.6 MB, free: 12.38 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005841/0.1468, allocations: 244.8 kB / 286.8 MB, free: 12.25 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002239/0.149, allocations: 1.014 MB / 287.8 MB, free: 11.61 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003807/0.1528, allocations: 1.57 MB / 289.4 MB, free: 10.66 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001499/0.1543, allocations: 1.292 MB / 290.7 MB, free: 9.988 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007354/0.1551, allocations: 0.5932 MB / 291.3 MB, free: 9.609 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001064/0.1561, allocations: 0.9126 MB / 292.2 MB, free: 9.262 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001068/0.1572, allocations: 0.5573 MB / 292.7 MB, free: 9.121 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003083/0.1575, allocations: 105.7 kB / 292.8 MB, free: 9.121 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003686/0.1612, allocations: 1.287 MB / 294.1 MB, free: 8.777 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002122/0.1614, allocations: 187.1 kB / 294.3 MB, free: 8.734 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004472/0.1619, allocations: 319.7 kB / 294.6 MB, free: 8.699 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004807/0.1667, allocations: 2.145 MB / 296.8 MB, free: 7.426 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.413e-05/0.1667, allocations: 0 / 296.8 MB, free: 7.426 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1667, allocations: 0 / 296.8 MB, free: 7.426 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.409e-05/0.1667, allocations: 0 / 296.8 MB, free: 7.426 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.002358/0.1691, allocations: 1.785 MB / 298.5 MB, free: 5.609 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.1691, allocations: 16.03 kB / 298.6 MB, free: 5.594 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007282/0.1698, allocations: 408.7 kB / 299 MB, free: 5.176 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007921/0.1706, allocations: 427.1 kB / 299.4 MB, free: 4.73 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.851e-05/0.1707, allocations: 122 kB / 299.5 MB, free: 4.602 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001344/0.1709, allocations: 92.33 kB / 299.6 MB, free: 4.512 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001043/0.1719, allocations: 0.7873 MB / 300.4 MB, free: 3.699 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.127e-05/0.1719, allocations: 1.781 kB / 300.4 MB, free: 3.699 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.749e-05/0.172, allocations: 40.12 kB / 300.4 MB, free: 3.66 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.814e-05/0.172, allocations: 20 kB / 300.4 MB, free: 3.641 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009495/0.173, allocations: 0.6409 MB / 301.1 MB, free: 3 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.003055/0.176, allocations: 2.13 MB / 303.2 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001219/0.1772, allocations: 1.228 MB / 304.4 MB, free: 15.57 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001871/0.1774, allocations: 203.8 kB / 304.6 MB, free: 15.37 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002288/0.1797, allocations: 1.83 MB / 306.5 MB, free: 13.52 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/0.1798, allocations: 40.31 kB / 306.5 MB, free: 13.48 MB / 298.7 MB Notification: Performance of pre-optimization done (n=56): time 1.903e-06/0.1798, allocations: 0 / 306.5 MB, free: 13.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=63): time 0.001423/0.1812, allocations: 1.122 MB / 307.6 MB, free: 12.32 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.251e-05/0.1812, allocations: 60.06 kB / 307.7 MB, free: 12.25 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002624/0.1815, allocations: 470.8 kB / 308.1 MB, free: 11.78 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.667e-05/0.1815, allocations: 37.7 kB / 308.2 MB, free: 11.74 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001649/0.1817, allocations: 432.6 kB / 308.6 MB, free: 11.31 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000112/0.1818, allocations: 238 kB / 308.8 MB, free: 11.07 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001298/0.1819, allocations: 174.5 kB / 309 MB, free: 10.9 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.182, allocations: 386.6 kB / 309.4 MB, free: 10.51 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.749e-05/0.1821, allocations: 88.78 kB / 309.5 MB, free: 10.43 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002304/0.1823, allocations: 430.5 kB / 309.9 MB, free: 9.848 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004588/0.1828, allocations: 0.6137 MB / 310.5 MB, free: 9.086 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.1828, allocations: 0 / 310.5 MB, free: 9.086 MB / 298.7 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.0004753/0.1833, allocations: 0.5316 MB / 311 MB, free: 8.547 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.1833, allocations: 8 kB / 311 MB, free: 8.539 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.1833, allocations: 20.14 kB / 311.1 MB, free: 8.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.1833, allocations: 16 kB / 311.1 MB, free: 8.504 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005502/0.1839, allocations: 307.6 kB / 311.4 MB, free: 8.203 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.438e-05/0.1839, allocations: 28.88 kB / 311.4 MB, free: 8.176 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001856/0.1841, allocations: 34.88 kB / 311.4 MB, free: 8.145 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.052e-05/0.1841, allocations: 36 kB / 311.5 MB, free: 8.109 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.0001365/0.1842, allocations: 176.3 kB / 311.7 MB, free: 7.926 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.751e-05/0.1843, allocations: 59.94 kB / 311.7 MB, free: 7.867 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004849/0.1848, allocations: 439.2 kB / 312.1 MB, free: 7.434 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.1848, allocations: 8 kB / 312.1 MB, free: 7.426 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.1848, allocations: 0 / 312.1 MB, free: 7.426 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.1848, allocations: 7.984 kB / 312.2 MB, free: 7.418 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004603/0.1853, allocations: 0.5161 MB / 312.7 MB, free: 6.859 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.1853, allocations: 4 kB / 312.7 MB, free: 6.855 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004054/0.1857, allocations: 207.9 kB / 312.9 MB, free: 6.652 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001071/0.1858, allocations: 83.55 kB / 313 MB, free: 6.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.1858, allocations: 4 kB / 313 MB, free: 6.566 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.256e-05/0.1858, allocations: 16 kB / 313 MB, free: 6.551 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.137e-06/0.1858, allocations: 11.92 kB / 313 MB, free: 6.539 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.1858, allocations: 0 / 313 MB, free: 6.539 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000463/0.1863, allocations: 0.5966 MB / 313.6 MB, free: 5.914 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.759e-05/0.1863, allocations: 12 kB / 313.6 MB, free: 5.902 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001187/0.1864, allocations: 16 kB / 313.6 MB, free: 5.887 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.021e-05/0.1865, allocations: 52.56 kB / 313.7 MB, free: 5.836 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-05/0.1865, allocations: 20 kB / 313.7 MB, free: 5.816 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001248/0.1866, allocations: 192.4 kB / 313.9 MB, free: 5.629 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1866, allocations: 0 / 313.9 MB, free: 5.629 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008278/0.1875, allocations: 494.5 kB / 314.4 MB, free: 5.145 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.0007735/0.1882, allocations: 0.6393 MB / 315 MB, free: 4.496 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003891/0.1886, allocations: 402.8 kB / 315.4 MB, free: 4.105 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.128e-05/0.1887, allocations: 16.5 kB / 315.4 MB, free: 4.09 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001519/0.1888, allocations: 181.8 kB / 315.6 MB, free: 3.906 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000471/0.1893, allocations: 251 kB / 315.8 MB, free: 3.684 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006433/0.1957, allocations: 1.413 MB / 317.2 MB, free: 2.215 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000101/0.1958, allocations: 163.3 kB / 317.4 MB, free: 2.031 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003517/0.1962, allocations: 164.6 kB / 317.6 MB, free: 1.875 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003079/0.1965, allocations: 237.2 kB / 317.8 MB, free: 1.645 MB / 298.7 MB Notification: Performance of SimCode: time 5.31e-07/0.1965, allocations: 4 kB / 317.8 MB, free: 1.641 MB / 298.7 MB Notification: Performance of Templates: time 0.01797/0.2144, allocations: 16.76 MB / 334.6 MB, free: 1.062 MB / 314.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=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0223967377096415]