Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001837/0.001837, allocations: 92.42 kB / 19.7 MB, free: 2.137 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.001576/0.001576, allocations: 212.6 kB / 22.99 MB, free: 4.953 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.51/1.51, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1587/0.1587, allocations: 23.88 MB / 337.1 MB, free: 10.95 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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_Chemical.Obsolete.Examples.SimpleReaction2") translateModel(Chemical.Obsolete.Examples.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_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.002073/0.002073, allocations: 59.91 kB / 472.4 MB, free: 6.996 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4187/0.4208, allocations: 59.86 MB / 0.5197 GB, free: 9.773 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337: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.0/Obsolete.mo:14337:7-14337: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.07604/0.4969, allocations: 25.45 MB / 0.5446 GB, free: 14.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01637/0.5132, allocations: 10.25 MB / 0.5546 GB, free: 4.801 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001087/0.5143, allocations: 23.81 kB / 0.5546 GB, free: 4.777 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008777/0.5152, allocations: 238.8 kB / 0.5549 GB, free: 4.602 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003616/0.5188, allocations: 0.9999 MB / 0.5558 GB, free: 3.75 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00534/0.5241, allocations: 1.528 MB / 0.5573 GB, free: 2.492 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002418/0.5266, allocations: 1.259 MB / 0.5586 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001014/0.5276, allocations: 0.5693 MB / 0.5591 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009012/0.5285, allocations: 0.6232 MB / 0.5597 GB, free: 352 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001056/0.5295, allocations: 0.6791 MB / 0.5604 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001915/0.5297, allocations: 108 kB / 0.5605 GB, free: 15.69 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004335/0.5341, allocations: 1.256 MB / 0.5617 GB, free: 14.56 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003463/0.5344, allocations: 254.1 kB / 0.562 GB, free: 14.36 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006254/0.535, allocations: 471.4 kB / 0.5624 GB, free: 13.94 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007057/0.5421, allocations: 2.591 MB / 0.5649 GB, free: 11.56 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.5421, allocations: 4 kB / 0.5649 GB, free: 11.56 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.5421, allocations: 0 / 0.5649 GB, free: 11.56 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.441e-05/0.5421, allocations: 0 / 0.5649 GB, free: 11.56 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.002912/0.545, allocations: 1.45 MB / 0.5663 GB, free: 10.07 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.5451, allocations: 12.03 kB / 0.5664 GB, free: 10.06 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009052/0.546, allocations: 211.9 kB / 0.5666 GB, free: 9.855 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009912/0.547, allocations: 0.5193 MB / 0.5671 GB, free: 9.309 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001328/0.5471, allocations: 122 kB / 0.5672 GB, free: 9.176 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001731/0.5473, allocations: 88.31 kB / 0.5673 GB, free: 9.09 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001761/0.549, allocations: 1.049 MB / 0.5683 GB, free: 8.023 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.378e-05/0.549, allocations: 0 / 0.5683 GB, free: 8.023 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.243e-05/0.5491, allocations: 39.98 kB / 0.5683 GB, free: 7.984 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.151e-05/0.5492, allocations: 24 kB / 0.5684 GB, free: 7.961 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002157/0.5513, allocations: 1.257 MB / 0.5696 GB, free: 6.703 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.005328/0.5566, allocations: 2.713 MB / 0.5722 GB, free: 3.914 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002389/0.559, allocations: 1.231 MB / 0.5734 GB, free: 2.676 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006341/0.5597, allocations: 399.6 kB / 0.5738 GB, free: 2.281 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004744/0.5644, allocations: 2.069 MB / 0.5758 GB, free: 196 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.552e-05/0.5644, allocations: 39.06 kB / 0.5759 GB, free: 144 kB / 414.1 MB Notification: Performance of pre-optimization done (n=56): time 1.853e-06/0.5644, allocations: 3.938 kB / 0.5759 GB, free: 140 kB / 414.1 MB Notification: Performance of matching and sorting (n=63): time 0.003447/0.5679, allocations: 1.596 MB / 0.5774 GB, free: 14.51 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.11e-05/0.5679, allocations: 60 kB / 0.5775 GB, free: 14.44 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006384/0.5686, allocations: 0.4986 MB / 0.578 GB, free: 13.93 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.831e-05/0.5686, allocations: 37.7 kB / 0.578 GB, free: 13.89 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003828/0.569, allocations: 479.7 kB / 0.5785 GB, free: 13.41 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002128/0.5692, allocations: 241.9 kB / 0.5787 GB, free: 13.17 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002387/0.5695, allocations: 170.6 kB / 0.5789 GB, free: 13 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002114/0.5697, allocations: 370.8 kB / 0.5792 GB, free: 12.63 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004002/0.5701, allocations: 209.9 kB / 0.5794 GB, free: 12.42 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006879/0.5708, allocations: 0.5335 MB / 0.5799 GB, free: 11.74 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001217/0.572, allocations: 0.8143 MB / 0.5807 GB, free: 10.78 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/0.572, allocations: 4 kB / 0.5807 GB, free: 10.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.001549/0.5735, allocations: 0.8527 MB / 0.5816 GB, free: 9.914 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.459e-05/0.5736, allocations: 16.03 kB / 0.5816 GB, free: 9.898 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.581e-05/0.5736, allocations: 8 kB / 0.5816 GB, free: 9.891 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.053e-05/0.5736, allocations: 16 kB / 0.5816 GB, free: 9.875 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009892/0.5746, allocations: 267.5 kB / 0.5819 GB, free: 9.613 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.971e-05/0.5746, allocations: 23.92 kB / 0.5819 GB, free: 9.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004556/0.5751, allocations: 32 kB / 0.5819 GB, free: 9.559 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.383e-05/0.5752, allocations: 48 kB / 0.582 GB, free: 9.512 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.0004479/0.5756, allocations: 241.5 kB / 0.5822 GB, free: 9.266 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001297/0.5758, allocations: 63.58 kB / 0.5823 GB, free: 9.203 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001382/0.5771, allocations: 0.6871 MB / 0.5829 GB, free: 8.508 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.726e-06/0.5771, allocations: 11.88 kB / 0.5829 GB, free: 8.496 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.758e-06/0.5772, allocations: 4 kB / 0.5829 GB, free: 8.492 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.451e-05/0.5772, allocations: 11.97 kB / 0.583 GB, free: 8.48 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009395/0.5781, allocations: 0.569 MB / 0.5835 GB, free: 7.863 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/0.5781, allocations: 4 kB / 0.5835 GB, free: 7.859 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008205/0.5789, allocations: 175.8 kB / 0.5837 GB, free: 7.688 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.953e-06/0.5789, allocations: 8.125 kB / 0.5837 GB, free: 7.68 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.618e-05/0.579, allocations: 19.98 kB / 0.5837 GB, free: 7.66 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/0.579, allocations: 4 kB / 0.5837 GB, free: 7.656 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/0.579, allocations: 11.88 kB / 0.5837 GB, free: 7.645 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001477/0.5805, allocations: 0.9491 MB / 0.5847 GB, free: 6.668 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002798/0.5808, allocations: 107.6 kB / 0.5848 GB, free: 6.562 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.36e-05/0.5808, allocations: 16 kB / 0.5848 GB, free: 6.547 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002558/0.5811, allocations: 12 kB / 0.5848 GB, free: 6.535 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001276/0.5812, allocations: 60.44 kB / 0.5848 GB, free: 6.477 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.854e-05/0.5813, allocations: 31.92 kB / 0.5849 GB, free: 6.445 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004047/0.5817, allocations: 318.9 kB / 0.5852 GB, free: 6.137 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5817, allocations: 0 / 0.5852 GB, free: 6.137 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001565/0.5832, allocations: 486.6 kB / 0.5856 GB, free: 5.66 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.001168/0.5844, allocations: 0.5988 MB / 0.5862 GB, free: 5.047 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001042/0.5855, allocations: 0.577 MB / 0.5868 GB, free: 4.469 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.5855, allocations: 0 / 0.5868 GB, free: 4.469 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004287/0.5859, allocations: 255.6 kB / 0.587 GB, free: 4.223 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008073/0.5867, allocations: 168.8 kB / 0.5872 GB, free: 4.07 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002946/0.5896, allocations: 1.55 MB / 0.5887 GB, free: 2.473 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003967/0.59, allocations: 357.4 kB / 0.589 GB, free: 2.098 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002895/0.5903, allocations: 131.4 kB / 0.5892 GB, free: 1.969 MB / 430.1 MB Notification: Performance of SimCode: time 6.32e-07/0.5903, allocations: 0 / 0.5892 GB, free: 1.969 MB / 430.1 MB Notification: Performance of Templates: time 0.02105/0.6114, allocations: 13.04 MB / 0.6019 GB, free: 4.965 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.SimpleReaction2.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.SimpleReaction2.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.SimpleReaction2.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.SimpleReaction2.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.SimpleReaction2.sim & ./Chemical_Chemical.Obsolete.Examples.SimpleReaction2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.SimpleReaction2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.922709253965877] Failed to read output from testmodel.py, exit status != 0: 0.620890314981807 0.636083068 0.09076910399999995 Calling exit ...