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.001336/0.001336, allocations: 104.5 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.001329/0.001329, allocations: 212.9 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.44/1.44, allocations: 230.6 MB / 252.8 MB, free: 9.148 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.146/0.146, allocations: 23.89 MB / 332.7 MB, free: 12.35 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: "" <> buildModelFMU(Chemical.Obsolete.Examples.SimpleReaction2,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_SimpleReaction2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.SimpleReaction2,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_SimpleReaction2",fmuType="me",version="2.0",platforms={"static"}) [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.001964/0.001964, allocations: 63.89 kB / 466 MB, free: 10.06 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3615/0.3635, allocations: 59.84 MB / 0.5135 GB, free: 8.84 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.04055/0.404, allocations: 25.85 MB / 0.5388 GB, free: 14.69 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01583/0.4199, allocations: 11.69 MB / 0.5502 GB, free: 3.938 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009801/0.4208, allocations: 19.88 kB / 0.5502 GB, free: 3.918 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008842/0.4217, allocations: 257 kB / 0.5505 GB, free: 3.723 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003192/0.4249, allocations: 0.9926 MB / 0.5514 GB, free: 2.887 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005312/0.4302, allocations: 1.51 MB / 0.5529 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002918/0.4331, allocations: 1.259 MB / 0.5541 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008713/0.434, allocations: 0.5731 MB / 0.5547 GB, free: 60 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007846/0.4348, allocations: 0.6189 MB / 0.5553 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001062/0.4359, allocations: 0.6793 MB / 0.556 GB, free: 14.95 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001908/0.4361, allocations: 108 kB / 0.5561 GB, free: 14.85 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005744/0.4418, allocations: 1.304 MB / 0.5573 GB, free: 13.69 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003552/0.4422, allocations: 259.4 kB / 0.5576 GB, free: 13.48 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007701/0.4429, allocations: 0.546 MB / 0.5581 GB, free: 12.98 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00702/0.4499, allocations: 2.587 MB / 0.5606 GB, free: 10.9 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.4499, allocations: 0 / 0.5606 GB, free: 10.9 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4499, allocations: 0 / 0.5606 GB, free: 10.9 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.74e-05/0.45, allocations: 0 / 0.5606 GB, free: 10.9 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.003099/0.4531, allocations: 1.53 MB / 0.5621 GB, free: 9.398 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.4531, allocations: 11.97 kB / 0.5622 GB, free: 9.387 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001901/0.4533, allocations: 139.7 kB / 0.5623 GB, free: 9.242 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009587/0.4543, allocations: 219.9 kB / 0.5625 GB, free: 9.027 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000901/0.4552, allocations: 0.5797 MB / 0.5631 GB, free: 8.406 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001194/0.4553, allocations: 100.3 kB / 0.5632 GB, free: 8.301 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001541/0.4554, allocations: 92.3 kB / 0.5632 GB, free: 8.211 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001774/0.4572, allocations: 1.049 MB / 0.5643 GB, free: 7.145 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.959e-05/0.4572, allocations: 0 / 0.5643 GB, free: 7.145 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.532e-05/0.4573, allocations: 36 kB / 0.5643 GB, free: 7.109 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.232e-05/0.4573, allocations: 24 kB / 0.5643 GB, free: 7.086 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002093/0.4594, allocations: 1.277 MB / 0.5656 GB, free: 5.809 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.00558/0.465, allocations: 3.486 MB / 0.569 GB, free: 2.145 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002419/0.4674, allocations: 1.47 MB / 0.5704 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006739/0.4681, allocations: 395.7 kB / 0.5708 GB, free: 224 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005748/0.4739, allocations: 4.06 MB / 0.5748 GB, free: 11.68 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.717e-05/0.4739, allocations: 43.12 kB / 0.5748 GB, free: 11.63 MB / 430.1 MB Notification: Performance of pre-optimization done (n=56): time 2.455e-06/0.4739, allocations: 0 / 0.5748 GB, free: 11.63 MB / 430.1 MB Notification: Performance of matching and sorting (n=63): time 0.003795/0.4777, allocations: 1.675 MB / 0.5764 GB, free: 9.902 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.927e-05/0.4778, allocations: 59.95 kB / 0.5765 GB, free: 9.832 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006767/0.4784, allocations: 0.5107 MB / 0.577 GB, free: 9.312 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.45e-05/0.4785, allocations: 37.7 kB / 0.577 GB, free: 9.27 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003491/0.4788, allocations: 475.7 kB / 0.5775 GB, free: 8.797 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002123/0.479, allocations: 238 kB / 0.5777 GB, free: 8.562 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000246/0.4793, allocations: 174.6 kB / 0.5779 GB, free: 8.387 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002034/0.4795, allocations: 374.8 kB / 0.5782 GB, free: 8.012 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004213/0.4799, allocations: 213.9 kB / 0.5784 GB, free: 7.805 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00068/0.4806, allocations: 0.5295 MB / 0.579 GB, free: 7.129 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001223/0.4818, allocations: 0.813 MB / 0.5797 GB, free: 6.16 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.4818, allocations: 8 kB / 0.5798 GB, free: 6.152 MB / 430.1 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.001478/0.4833, allocations: 0.8505 MB / 0.5806 GB, free: 5.301 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.696e-05/0.4833, allocations: 12 kB / 0.5806 GB, free: 5.289 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.984e-05/0.4833, allocations: 15.94 kB / 0.5806 GB, free: 5.273 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.368e-05/0.4834, allocations: 16 kB / 0.5806 GB, free: 5.258 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001008/0.4844, allocations: 259.6 kB / 0.5809 GB, free: 5.004 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.384e-05/0.4844, allocations: 19.94 kB / 0.5809 GB, free: 4.984 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004471/0.4849, allocations: 40.05 kB / 0.5809 GB, free: 4.945 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.269e-05/0.4849, allocations: 48 kB / 0.581 GB, free: 4.898 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.0003593/0.4853, allocations: 233.5 kB / 0.5812 GB, free: 4.66 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/0.4854, allocations: 67.58 kB / 0.5813 GB, free: 4.594 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001374/0.4868, allocations: 0.6968 MB / 0.5819 GB, free: 3.883 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.908e-06/0.4868, allocations: 11.94 kB / 0.582 GB, free: 3.871 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.4868, allocations: 0 / 0.582 GB, free: 3.871 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.206e-06/0.4868, allocations: 0 / 0.582 GB, free: 3.871 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001113/0.4879, allocations: 0.7721 MB / 0.5827 GB, free: 3.031 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.4879, allocations: 4 kB / 0.5827 GB, free: 3.027 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000762/0.4887, allocations: 171.9 kB / 0.5829 GB, free: 2.859 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.373e-06/0.4887, allocations: 4 kB / 0.5829 GB, free: 2.855 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.659e-05/0.4888, allocations: 27.94 kB / 0.5829 GB, free: 2.828 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.768e-06/0.4888, allocations: 7.938 kB / 0.5829 GB, free: 2.82 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.4888, allocations: 0 / 0.5829 GB, free: 2.82 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001461/0.4902, allocations: 0.9524 MB / 0.5838 GB, free: 1.848 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002648/0.4905, allocations: 192.6 kB / 0.584 GB, free: 1.641 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.481e-05/0.4906, allocations: 19.92 kB / 0.584 GB, free: 1.621 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002683/0.4908, allocations: 12 kB / 0.5841 GB, free: 1.609 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/0.491, allocations: 60.44 kB / 0.5841 GB, free: 1.547 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.662e-05/0.491, allocations: 24 kB / 0.5841 GB, free: 1.523 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004131/0.4914, allocations: 342.8 kB / 0.5845 GB, free: 1.191 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4914, allocations: 0 / 0.5845 GB, free: 1.191 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001551/0.493, allocations: 486.6 kB / 0.5849 GB, free: 0.7148 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.003119/0.4961, allocations: 1.995 MB / 0.5869 GB, free: 14.68 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001078/0.4972, allocations: 0.5679 MB / 0.5874 GB, free: 14.11 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.4972, allocations: 0 / 0.5874 GB, free: 14.11 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004182/0.4976, allocations: 263 kB / 0.5877 GB, free: 13.86 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008383/0.4984, allocations: 171 kB / 0.5878 GB, free: 13.69 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00911/0.5075, allocations: 6.123 MB / 0.5938 GB, free: 7.156 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006623/0.5082, allocations: 0.9579 MB / 0.5948 GB, free: 6.172 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006006/0.5088, allocations: 173.4 kB / 0.5949 GB, free: 6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005344/0.5093, allocations: 347.3 kB / 0.5953 GB, free: 5.66 MB / 446.1 MB Notification: Performance of SimCode: time 1.854e-06/0.5093, allocations: 3.938 kB / 0.5953 GB, free: 5.656 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06077/0.5701, allocations: 21.04 MB / 0.6158 GB, free: 0.7266 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.219/9.789, allocations: 11.12 kB / 0.6158 GB, free: 0.7188 MB / 462.1 MB " [Timeout remaining time 650] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Obsolete_Examples_SimpleReaction2_fmu --startTime=0 --stopTime=0.0001 --stepSize=4e-08 --timeout=50 --tolerance=1e-06 Chemical_master_Chemical_Obsolete_Examples_SimpleReaction2.fmu > Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.460879046935588] Failed to read output from testmodel.py, exit status != 0: 9.867766286013648 9.88170493 9.428866506 Calling exit ...