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.001754/0.001754, allocations: 104.4 kB / 16.45 MB, free: 6.449 MB / 14.72 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.001521/0.001521, allocations: 210.4 kB / 19.43 MB, free: 3.637 MB / 14.72 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.605/1.605, allocations: 230.5 MB / 252.8 MB, free: 9.137 MB / 206.1 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.1436/0.1436, allocations: 23.89 MB / 332.7 MB, free: 12.34 MB / 270.1 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: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 67.89 kB / 466.5 MB, free: 9.551 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.442/0.444, allocations: 59.82 MB / 0.514 GB, free: 9.199 MB / 382.1 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.04121/0.4852, allocations: 25.89 MB / 0.5393 GB, free: 14.67 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02203/0.5072, allocations: 11.69 MB / 0.5507 GB, free: 3.887 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001366/0.5086, allocations: 15.88 kB / 0.5507 GB, free: 3.871 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001137/0.5097, allocations: 261.3 kB / 0.551 GB, free: 3.672 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004408/0.5141, allocations: 0.988 MB / 0.5519 GB, free: 2.84 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006059/0.5202, allocations: 1.519 MB / 0.5534 GB, free: 1.602 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002881/0.5231, allocations: 1.255 MB / 0.5547 GB, free: 480 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001221/0.5243, allocations: 0.5732 MB / 0.5552 GB, free: 8 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001118/0.5254, allocations: 0.6207 MB / 0.5558 GB, free: 15.46 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001304/0.5267, allocations: 0.6796 MB / 0.5565 GB, free: 14.91 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002135/0.5269, allocations: 108 kB / 0.5566 GB, free: 14.8 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005938/0.5329, allocations: 1.304 MB / 0.5579 GB, free: 13.64 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003965/0.5333, allocations: 259.5 kB / 0.5581 GB, free: 13.43 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008047/0.5341, allocations: 0.5499 MB / 0.5586 GB, free: 12.93 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007553/0.5416, allocations: 2.583 MB / 0.5612 GB, free: 10.85 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.5416, allocations: 0 / 0.5612 GB, free: 10.85 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.5416, allocations: 0.75 kB / 0.5612 GB, free: 10.85 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.734e-05/0.5416, allocations: 0 / 0.5612 GB, free: 10.85 MB / 414.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.003927/0.5456, allocations: 1.532 MB / 0.5627 GB, free: 9.285 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.5456, allocations: 8.031 kB / 0.5627 GB, free: 9.277 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001362/0.547, allocations: 219.9 kB / 0.5629 GB, free: 9.062 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001259/0.5482, allocations: 0.5797 MB / 0.5634 GB, free: 8.441 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000158/0.5484, allocations: 100.3 kB / 0.5635 GB, free: 8.336 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002245/0.5486, allocations: 84.38 kB / 0.5636 GB, free: 8.254 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00254/0.5512, allocations: 1.053 MB / 0.5647 GB, free: 7.184 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.415e-05/0.5512, allocations: 0 / 0.5647 GB, free: 7.184 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001364/0.5513, allocations: 40 kB / 0.5647 GB, free: 7.145 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.074e-05/0.5513, allocations: 20 kB / 0.5647 GB, free: 7.125 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003076/0.5544, allocations: 1.277 MB / 0.566 GB, free: 5.848 MB / 414.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.007728/0.5622, allocations: 3.486 MB / 0.5694 GB, free: 2.184 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003296/0.5654, allocations: 1.474 MB / 0.5708 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006861/0.5661, allocations: 399.7 kB / 0.5712 GB, free: 256 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006043/0.5722, allocations: 4.049 MB / 0.5751 GB, free: 11.72 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/0.5722, allocations: 43.06 kB / 0.5752 GB, free: 11.67 MB / 430.1 MB Notification: Performance of pre-optimization done (n=56): time 1.894e-06/0.5722, allocations: 0 / 0.5752 GB, free: 11.67 MB / 430.1 MB Notification: Performance of matching and sorting (n=63): time 0.003585/0.5758, allocations: 1.675 MB / 0.5768 GB, free: 9.945 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.917e-05/0.5758, allocations: 55.97 kB / 0.5769 GB, free: 9.879 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000663/0.5765, allocations: 0.5146 MB / 0.5774 GB, free: 9.355 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.679e-05/0.5766, allocations: 37.7 kB / 0.5774 GB, free: 9.312 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003849/0.5769, allocations: 479.7 kB / 0.5779 GB, free: 8.836 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002111/0.5772, allocations: 238 kB / 0.5781 GB, free: 8.602 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002348/0.5774, allocations: 174.6 kB / 0.5783 GB, free: 8.426 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002218/0.5776, allocations: 378.7 kB / 0.5786 GB, free: 8.047 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004005/0.578, allocations: 213.9 kB / 0.5788 GB, free: 7.84 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007095/0.5787, allocations: 0.5295 MB / 0.5793 GB, free: 7.164 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001185/0.5799, allocations: 0.817 MB / 0.5801 GB, free: 6.191 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/0.5799, allocations: 4 kB / 0.5801 GB, free: 6.188 MB / 430.1 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.001427/0.5813, allocations: 0.8503 MB / 0.581 GB, free: 5.336 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/0.5814, allocations: 12 kB / 0.581 GB, free: 5.324 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.935e-05/0.5814, allocations: 12 kB / 0.581 GB, free: 5.312 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.264e-05/0.5814, allocations: 19.94 kB / 0.581 GB, free: 5.293 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009774/0.5824, allocations: 259.9 kB / 0.5813 GB, free: 5.039 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.327e-05/0.5824, allocations: 23.94 kB / 0.5813 GB, free: 5.016 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004224/0.5828, allocations: 35.98 kB / 0.5813 GB, free: 4.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.002e-05/0.5829, allocations: 48 kB / 0.5814 GB, free: 4.934 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.0003537/0.5833, allocations: 233.5 kB / 0.5816 GB, free: 4.695 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001237/0.5834, allocations: 67.58 kB / 0.5816 GB, free: 4.629 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001396/0.5848, allocations: 0.693 MB / 0.5823 GB, free: 3.922 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.16e-05/0.5848, allocations: 11.98 kB / 0.5823 GB, free: 3.91 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.5848, allocations: 0 / 0.5823 GB, free: 3.91 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.5848, allocations: 0 / 0.5823 GB, free: 3.91 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00117/0.586, allocations: 0.7643 MB / 0.5831 GB, free: 3.078 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.938e-06/0.586, allocations: 16.11 kB / 0.5831 GB, free: 3.062 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007585/0.5868, allocations: 171.8 kB / 0.5833 GB, free: 2.895 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.5868, allocations: 4 kB / 0.5833 GB, free: 2.891 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.639e-05/0.5868, allocations: 23.94 kB / 0.5833 GB, free: 2.867 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.674e-06/0.5868, allocations: 7.938 kB / 0.5833 GB, free: 2.859 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-06/0.5868, allocations: 3.938 kB / 0.5833 GB, free: 2.855 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00155/0.5884, allocations: 0.9563 MB / 0.5842 GB, free: 1.879 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003022/0.5887, allocations: 192.6 kB / 0.5844 GB, free: 1.672 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.046e-05/0.5888, allocations: 19.92 kB / 0.5844 GB, free: 1.652 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002737/0.589, allocations: 12 kB / 0.5844 GB, free: 1.641 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/0.5892, allocations: 60.44 kB / 0.5845 GB, free: 1.578 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.826e-05/0.5892, allocations: 24 kB / 0.5845 GB, free: 1.555 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004314/0.5896, allocations: 342.8 kB / 0.5849 GB, free: 1.223 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.5896, allocations: 0 / 0.5849 GB, free: 1.223 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001675/0.5913, allocations: 486.6 kB / 0.5853 GB, free: 0.7461 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.001271/0.5926, allocations: 0.5995 MB / 0.5859 GB, free: 140 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001181/0.5938, allocations: 0.5721 MB / 0.5865 GB, free: 15.57 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.5938, allocations: 0.8125 kB / 0.5865 GB, free: 15.57 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004326/0.5942, allocations: 255.2 kB / 0.5867 GB, free: 15.32 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008948/0.5951, allocations: 169.2 kB / 0.5869 GB, free: 15.16 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002703/0.5978, allocations: 1.502 MB / 0.5883 GB, free: 13.61 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006489/0.5985, allocations: 0.9579 MB / 0.5893 GB, free: 12.62 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005442/0.599, allocations: 169.4 kB / 0.5894 GB, free: 12.45 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000238/0.5992, allocations: 95.39 kB / 0.5895 GB, free: 12.36 MB / 446.1 MB Notification: Performance of SimCode: time 9.02e-07/0.5992, allocations: 4 kB / 0.5895 GB, free: 12.36 MB / 446.1 MB Notification: Performance of Templates: time 0.02619/0.6254, allocations: 14.5 MB / 0.6037 GB, free: 13.91 MB / 462.1 MB " [Timeout remaining time 659] 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.791435692925006] Failed to read output from testmodel.py, exit status != 0: 0.6345486519858241 0.647512602 0.102977018 Calling exit ...