Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.SimpleReaction.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.001371/0.001371, allocations: 106.6 kB / 16.45 MB, free: 6.453 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.001476/0.001476, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.472/1.472, allocations: 230.6 MB / 252.8 MB, free: 8.945 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.1434/0.1434, allocations: 23.84 MB / 332.7 MB, free: 12.36 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.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.SimpleReaction") translateModel(Chemical.Obsolete.Examples.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.SimpleReaction") [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.002116/0.002116, allocations: 63.89 kB / 466.4 MB, free: 9.59 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3252/0.3274, allocations: 59.82 MB / 0.5139 GB, free: 9.156 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.SimpleReaction): time 0.03561/0.363, allocations: 24.79 MB / 0.5381 GB, free: 15.61 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01572/0.3787, allocations: 8.039 MB / 0.546 GB, free: 8.312 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009126/0.3796, allocations: 15.88 kB / 0.546 GB, free: 8.297 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008724/0.3805, allocations: 189.6 kB / 0.5462 GB, free: 8.152 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003243/0.3837, allocations: 0.683 MB / 0.5469 GB, free: 7.578 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004525/0.3883, allocations: 1.034 MB / 0.5479 GB, free: 6.738 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002203/0.3905, allocations: 0.9447 MB / 0.5488 GB, free: 5.883 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009375/0.3914, allocations: 444.1 kB / 0.5492 GB, free: 5.543 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008849/0.3923, allocations: 464.7 kB / 0.5497 GB, free: 5.137 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001112/0.3934, allocations: 0.4975 MB / 0.5501 GB, free: 4.734 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002059/0.3936, allocations: 80 kB / 0.5502 GB, free: 4.656 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004499/0.3981, allocations: 0.8696 MB / 0.5511 GB, free: 3.883 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003515/0.3984, allocations: 194 kB / 0.5513 GB, free: 3.727 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007419/0.3992, allocations: 423.6 kB / 0.5517 GB, free: 3.344 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005057/0.4042, allocations: 1.815 MB / 0.5534 GB, free: 1.895 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.257e-05/0.4043, allocations: 8 kB / 0.5534 GB, free: 1.887 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.4043, allocations: 0 / 0.5534 GB, free: 1.887 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.954e-05/0.4043, allocations: 0 / 0.5534 GB, free: 1.887 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.003665/0.4079, allocations: 1.194 MB / 0.5546 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.366e-05/0.408, allocations: 15.97 kB / 0.5546 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001256/0.4093, allocations: 150.5 kB / 0.5548 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001323/0.4106, allocations: 491.2 kB / 0.5552 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001525/0.4107, allocations: 81.48 kB / 0.5553 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002619/0.411, allocations: 71.83 kB / 0.5554 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002477/0.4135, allocations: 0.7765 MB / 0.5561 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.797e-05/0.4135, allocations: 3.938 kB / 0.5561 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001346/0.4136, allocations: 32 kB / 0.5562 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.865e-05/0.4137, allocations: 16.56 kB / 0.5562 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002827/0.4165, allocations: 0.8739 MB / 0.557 GB, free: 14.54 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.007753/0.4242, allocations: 2.571 MB / 0.5595 GB, free: 12.23 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002984/0.4272, allocations: 0.9708 MB / 0.5605 GB, free: 11.26 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008896/0.4281, allocations: 282.4 kB / 0.5608 GB, free: 10.98 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007141/0.4353, allocations: 2.836 MB / 0.5635 GB, free: 7.812 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.982e-05/0.4353, allocations: 38.55 kB / 0.5636 GB, free: 7.766 MB / 414.1 MB Notification: Performance of pre-optimization done (n=41): time 2.815e-06/0.4353, allocations: 0 / 0.5636 GB, free: 7.766 MB / 414.1 MB Notification: Performance of matching and sorting (n=46): time 0.004694/0.44, allocations: 1.241 MB / 0.5648 GB, free: 6.473 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.807e-05/0.4401, allocations: 67.34 kB / 0.5648 GB, free: 6.395 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008736/0.441, allocations: 417.8 kB / 0.5652 GB, free: 5.984 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.882e-05/0.441, allocations: 33.7 kB / 0.5653 GB, free: 5.945 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004619/0.4415, allocations: 376.1 kB / 0.5656 GB, free: 5.57 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002629/0.4417, allocations: 170.6 kB / 0.5658 GB, free: 5.402 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003118/0.4421, allocations: 130.6 kB / 0.5659 GB, free: 5.266 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002789/0.4423, allocations: 358.8 kB / 0.5663 GB, free: 4.906 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005242/0.4429, allocations: 153.9 kB / 0.5664 GB, free: 4.758 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009323/0.4438, allocations: 384.3 kB / 0.5668 GB, free: 4.277 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001683/0.4455, allocations: 0.5786 MB / 0.5673 GB, free: 3.59 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.837e-06/0.4455, allocations: 8 kB / 0.5674 GB, free: 3.582 MB / 414.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002104/0.4476, allocations: 0.6125 MB / 0.568 GB, free: 2.961 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.928e-05/0.4476, allocations: 8 kB / 0.568 GB, free: 2.953 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.398e-05/0.4476, allocations: 12.84 kB / 0.568 GB, free: 2.941 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.938e-05/0.4477, allocations: 15.98 kB / 0.568 GB, free: 2.926 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001614/0.4493, allocations: 199.7 kB / 0.5682 GB, free: 2.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.841e-05/0.4493, allocations: 19.92 kB / 0.5682 GB, free: 2.711 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006147/0.45, allocations: 20 kB / 0.5682 GB, free: 2.691 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.929e-05/0.4501, allocations: 32 kB / 0.5682 GB, free: 2.66 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (83): * Single equations (assignments): 83 * 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.0004812/0.4505, allocations: 209.6 kB / 0.5684 GB, free: 2.445 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001786/0.4507, allocations: 55.66 kB / 0.5685 GB, free: 2.391 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001893/0.4526, allocations: 0.5013 MB / 0.569 GB, free: 1.883 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/0.4526, allocations: 4 kB / 0.569 GB, free: 1.879 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.4526, allocations: 3.938 kB / 0.569 GB, free: 1.875 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.737e-06/0.4526, allocations: 0 / 0.569 GB, free: 1.875 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001544/0.4542, allocations: 0.6199 MB / 0.5696 GB, free: 1.188 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.646e-06/0.4542, allocations: 8.125 kB / 0.5696 GB, free: 1.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001266/0.4555, allocations: 143.8 kB / 0.5697 GB, free: 1.039 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.349e-05/0.4555, allocations: 4 kB / 0.5698 GB, free: 1.035 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.877e-05/0.4555, allocations: 19.92 kB / 0.5698 GB, free: 1.016 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.266e-05/0.4556, allocations: 7.938 kB / 0.5698 GB, free: 1.008 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.4556, allocations: 0 / 0.5698 GB, free: 1.008 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002126/0.4577, allocations: 0.7268 MB / 0.5705 GB, free: 252 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000375/0.4581, allocations: 160.7 kB / 0.5706 GB, free: 72 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001266/0.4582, allocations: 11.94 kB / 0.5707 GB, free: 60 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000446/0.4586, allocations: 12 kB / 0.5707 GB, free: 48 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001516/0.4588, allocations: 44.33 kB / 0.5707 GB, free: 4 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.175e-05/0.4589, allocations: 19.98 kB / 0.5707 GB, free: 15.98 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006372/0.4595, allocations: 279.1 kB / 0.571 GB, free: 15.72 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4595, allocations: 0 / 0.571 GB, free: 15.72 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001857/0.4614, allocations: 335.1 kB / 0.5713 GB, free: 15.39 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (solution.temperature,A.logn,B.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 (53): * Single equations (assignments): 53 * 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.001576/0.4629, allocations: 433.9 kB / 0.5717 GB, free: 14.96 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001408/0.4643, allocations: 422.5 kB / 0.5721 GB, free: 14.54 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.4644, allocations: 3.938 kB / 0.5721 GB, free: 14.54 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006119/0.465, allocations: 186.4 kB / 0.5723 GB, free: 14.36 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001352/0.4663, allocations: 138.2 kB / 0.5724 GB, free: 14.22 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003563/0.4699, allocations: 1.197 MB / 0.5736 GB, free: 12.98 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000878/0.4708, allocations: 0.8977 MB / 0.5745 GB, free: 12.06 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006846/0.4714, allocations: 120.5 kB / 0.5746 GB, free: 11.94 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002593/0.4717, allocations: 71.41 kB / 0.5747 GB, free: 11.87 MB / 430.1 MB Notification: Performance of SimCode: time 9.42e-07/0.4717, allocations: 3.938 kB / 0.5747 GB, free: 11.87 MB / 430.1 MB Notification: Performance of Templates: time 0.03498/0.5067, allocations: 10.35 MB / 0.5848 GB, free: 1.57 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.SimpleReaction.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.SimpleReaction.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.SimpleReaction.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.SimpleReaction.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.SimpleReaction.sim & ./Chemical_Chemical.Obsolete.Examples.SimpleReaction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.SimpleReaction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.4725323505699635] Failed to read output from testmodel.py, exit status != 0: 0.5176679901778698 0.5439677 0.134778472 Calling exit ...