Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.SimpleReaction2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001509/0.001509, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00194/0.00194, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.616/1.616, allocations: 225.6 MB / 249.4 MB, free: 3.137 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.1039/0.1039, allocations: 15.54 MB / 320 MB, free: 13.17 MB / 254.1 MB " [Timeout remaining time 180] Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Chemical.Examples.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.SimpleReaction2") translateModel(Chemical.Examples.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.SimpleReaction2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00201/0.00201, allocations: 70.72 kB / 448.2 MB, free: 46.83 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1249, allocations: 56.55 MB / 0.4929 GB, free: 19.25 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo:4740:7-4740: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 1.4.1-master/package.mo:4740:7-4740: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.Examples.SimpleReaction2): time 0.03466/0.1595, allocations: 25.53 MB / 0.5179 GB, free: 11.92 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01674/0.1763, allocations: 11.69 MB / 0.5293 GB, free: 188 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001168/0.1774, allocations: 11.94 kB / 0.5293 GB, free: 176 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001002/0.1784, allocations: 262 kB / 0.5295 GB, free: 15.91 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003565/0.182, allocations: 0.989 MB / 0.5305 GB, free: 14.92 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004711/0.1867, allocations: 1.518 MB / 0.532 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002224/0.1889, allocations: 1.244 MB / 0.5332 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008849/0.1898, allocations: 0.5762 MB / 0.5338 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007828/0.1906, allocations: 0.6078 MB / 0.5344 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009989/0.1916, allocations: 0.6813 MB / 0.535 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001731/0.1918, allocations: 108 kB / 0.5351 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004383/0.1962, allocations: 1.299 MB / 0.5364 GB, free: 8.84 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003453/0.1965, allocations: 263.2 kB / 0.5367 GB, free: 8.582 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000705/0.1972, allocations: 0.5444 MB / 0.5372 GB, free: 8.035 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006959/0.2042, allocations: 2.517 MB / 0.5396 GB, free: 5.508 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.2042, allocations: 0 / 0.5396 GB, free: 5.508 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.2042, allocations: 0 / 0.5396 GB, free: 5.508 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.103e-05/0.2042, allocations: 0 / 0.5396 GB, free: 5.508 MB / 398.1 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.002991/0.2072, allocations: 1.521 MB / 0.5411 GB, free: 3.934 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.2072, allocations: 8.031 kB / 0.5411 GB, free: 3.926 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009299/0.2082, allocations: 223.9 kB / 0.5414 GB, free: 3.707 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001089/0.2092, allocations: 0.5835 MB / 0.5419 GB, free: 3.082 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001259/0.2094, allocations: 96.27 kB / 0.542 GB, free: 2.98 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001796/0.2095, allocations: 96.33 kB / 0.5421 GB, free: 2.887 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002067/0.2116, allocations: 1.049 MB / 0.5431 GB, free: 1.82 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.584e-05/0.2116, allocations: 3.938 kB / 0.5431 GB, free: 1.816 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.306e-05/0.2117, allocations: 36 kB / 0.5432 GB, free: 1.781 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.031e-05/0.2118, allocations: 20 kB / 0.5432 GB, free: 1.762 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002121/0.2139, allocations: 1.269 MB / 0.5444 GB, free: 0.4922 MB / 398.1 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.006421/0.2203, allocations: 3.486 MB / 0.5478 GB, free: 12.83 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002492/0.2228, allocations: 1.479 MB / 0.5493 GB, free: 11.3 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006414/0.2234, allocations: 395.7 kB / 0.5497 GB, free: 10.91 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006589/0.23, allocations: 4.034 MB / 0.5536 GB, free: 6.395 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.112e-05/0.2301, allocations: 43.06 kB / 0.5536 GB, free: 6.344 MB / 414.1 MB Notification: Performance of pre-optimization done (n=56): time 1.327e-05/0.2301, allocations: 0 / 0.5536 GB, free: 6.344 MB / 414.1 MB Notification: Performance of matching and sorting (n=63): time 0.003588/0.2337, allocations: 1.671 MB / 0.5553 GB, free: 4.621 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001171/0.2338, allocations: 59.97 kB / 0.5553 GB, free: 4.551 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007876/0.2346, allocations: 0.5184 MB / 0.5558 GB, free: 4.023 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.28e-05/0.2346, allocations: 33.7 kB / 0.5559 GB, free: 3.984 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003797/0.235, allocations: 471.8 kB / 0.5563 GB, free: 3.516 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002067/0.2352, allocations: 234 kB / 0.5565 GB, free: 3.285 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002549/0.2355, allocations: 174.6 kB / 0.5567 GB, free: 3.109 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002102/0.2357, allocations: 374.8 kB / 0.5571 GB, free: 2.734 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003898/0.2361, allocations: 213.9 kB / 0.5573 GB, free: 2.527 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00068/0.2367, allocations: 0.5333 MB / 0.5578 GB, free: 1.84 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001304/0.238, allocations: 0.8092 MB / 0.5586 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/0.238, allocations: 4 kB / 0.5586 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.001426/0.2395, allocations: 0.8542 MB / 0.5594 GB, free: 16 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.714e-05/0.2395, allocations: 16.22 kB / 0.5594 GB, free: 0 / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.796e-05/0.2395, allocations: 8.047 kB / 0.5594 GB, free: 15.99 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.486e-05/0.2396, allocations: 19.94 kB / 0.5595 GB, free: 15.97 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009488/0.2405, allocations: 267.6 kB / 0.5597 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.028e-05/0.2405, allocations: 19.94 kB / 0.5597 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000455/0.241, allocations: 31.98 kB / 0.5598 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.293e-05/0.2411, allocations: 48 kB / 0.5598 GB, free: 15.61 MB / 430.1 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.0003985/0.2415, allocations: 241.5 kB / 0.56 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001819/0.2417, allocations: 63.58 kB / 0.5601 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001395/0.2431, allocations: 0.6892 MB / 0.5608 GB, free: 14.6 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.117e-05/0.2431, allocations: 16 kB / 0.5608 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.2431, allocations: 3.984 kB / 0.5608 GB, free: 14.58 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.2431, allocations: 0 / 0.5608 GB, free: 14.58 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0011/0.2442, allocations: 0.7798 MB / 0.5615 GB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.2442, allocations: 0 / 0.5615 GB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007341/0.2449, allocations: 191.8 kB / 0.5617 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/0.2449, allocations: 4 kB / 0.5617 GB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.062e-05/0.245, allocations: 23.94 kB / 0.5618 GB, free: 13.52 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-06/0.245, allocations: 4 kB / 0.5618 GB, free: 13.52 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.245, allocations: 0 / 0.5618 GB, free: 13.52 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001509/0.2465, allocations: 0.9563 MB / 0.5627 GB, free: 12.53 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003059/0.2468, allocations: 192.6 kB / 0.5629 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.239e-05/0.2469, allocations: 19.94 kB / 0.5629 GB, free: 12.3 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000267/0.2472, allocations: 15.98 kB / 0.5629 GB, free: 12.29 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001245/0.2473, allocations: 44.5 kB / 0.563 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.408e-05/0.2473, allocations: 28 kB / 0.563 GB, free: 12.22 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004411/0.2478, allocations: 342.8 kB / 0.5633 GB, free: 11.89 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2478, allocations: 0 / 0.5633 GB, free: 11.89 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001542/0.2493, allocations: 490.6 kB / 0.5638 GB, free: 11.41 MB / 430.1 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.001183/0.2505, allocations: 0.5949 MB / 0.5644 GB, free: 10.8 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001082/0.2516, allocations: 0.5728 MB / 0.5649 GB, free: 10.23 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2516, allocations: 0 / 0.5649 GB, free: 10.23 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004081/0.252, allocations: 263.2 kB / 0.5652 GB, free: 9.977 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008019/0.2528, allocations: 158.3 kB / 0.5653 GB, free: 9.824 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00265/0.2555, allocations: 1.518 MB / 0.5668 GB, free: 8.258 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000652/0.2561, allocations: 0.9539 MB / 0.5677 GB, free: 7.277 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005318/0.2566, allocations: 169.5 kB / 0.5679 GB, free: 7.109 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002275/0.2569, allocations: 103.4 kB / 0.568 GB, free: 7.008 MB / 430.1 MB Notification: Performance of SimCode: time 7.82e-07/0.2569, allocations: 0 / 0.568 GB, free: 7.008 MB / 430.1 MB Notification: Performance of Templates: time 0.0242/0.2811, allocations: 14.46 MB / 0.5821 GB, free: 8.602 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Examples.SimpleReaction2.makefile [Timeout 660] (rm -f Chemical_Chemical.Examples.SimpleReaction2.pipe ; mkfifo Chemical_Chemical.Examples.SimpleReaction2.pipe ; head -c 1048576 < Chemical_Chemical.Examples.SimpleReaction2.pipe >> ../files/Chemical_Chemical.Examples.SimpleReaction2.sim & ./Chemical_Chemical.Examples.SimpleReaction2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.SimpleReaction2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.765579940751195]