Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.002089/0.002089, allocations: 99.75 kB / 18.94 MB, free: 2.832 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.002433/0.002433, allocations: 220.3 kB / 22.25 MB, free: 5.102 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.69/1.69, allocations: 230.6 MB / 256 MB, free: 7.801 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.1542/0.1542, allocations: 23.92 MB / 336.3 MB, free: 10.92 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.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.SimpleReaction") translateModel(Chemical.Obsolete.Examples.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_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.002183/0.002183, allocations: 71.89 kB / 471.7 MB, free: 6.957 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4322/0.4343, allocations: 59.87 MB / 0.5191 GB, free: 9.797 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.SimpleReaction): time 0.0801/0.5144, allocations: 24.75 MB / 0.5433 GB, free: 14.68 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01295/0.5274, allocations: 7.055 MB / 0.5501 GB, free: 8.258 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001085/0.5285, allocations: 11.88 kB / 0.5502 GB, free: 8.246 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008169/0.5293, allocations: 177.6 kB / 0.5503 GB, free: 8.113 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002573/0.5319, allocations: 0.6953 MB / 0.551 GB, free: 7.523 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003997/0.5359, allocations: 1.046 MB / 0.552 GB, free: 6.664 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001988/0.5378, allocations: 0.9412 MB / 0.5529 GB, free: 5.816 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007854/0.5386, allocations: 432.8 kB / 0.5534 GB, free: 5.492 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007189/0.5394, allocations: 468.8 kB / 0.5538 GB, free: 5.082 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009901/0.5403, allocations: 0.4969 MB / 0.5543 GB, free: 4.68 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001435/0.5405, allocations: 80 kB / 0.5544 GB, free: 4.602 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003298/0.5438, allocations: 0.8408 MB / 0.5552 GB, free: 3.848 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000286/0.5441, allocations: 190 kB / 0.5554 GB, free: 3.695 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004825/0.5446, allocations: 355.3 kB / 0.5557 GB, free: 3.379 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004578/0.5491, allocations: 1.812 MB / 0.5575 GB, free: 1.93 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.5491, allocations: 0.5156 kB / 0.5575 GB, free: 1.93 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.5491, allocations: 0 / 0.5575 GB, free: 1.93 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.354e-05/0.5492, allocations: 0 / 0.5575 GB, free: 1.93 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.002654/0.5518, allocations: 1.12 MB / 0.5586 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.651e-05/0.5519, allocations: 8.641 kB / 0.5586 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000783/0.5526, allocations: 150.1 kB / 0.5587 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009436/0.5536, allocations: 434.5 kB / 0.5591 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001548/0.5537, allocations: 102.6 kB / 0.5592 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000146/0.5539, allocations: 73.03 kB / 0.5593 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001683/0.5556, allocations: 0.7893 MB / 0.5601 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/0.5556, allocations: 0 / 0.5601 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-05/0.5557, allocations: 31.98 kB / 0.5601 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.203e-05/0.5557, allocations: 20 kB / 0.5601 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001704/0.5574, allocations: 0.8735 MB / 0.561 GB, free: 14.7 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.004439/0.5618, allocations: 1.975 MB / 0.5629 GB, free: 12.78 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001611/0.5635, allocations: 0.8118 MB / 0.5637 GB, free: 11.96 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004816/0.5639, allocations: 275.2 kB / 0.564 GB, free: 11.7 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003568/0.5675, allocations: 1.508 MB / 0.5654 GB, free: 10.16 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.278e-05/0.5675, allocations: 38.56 kB / 0.5655 GB, free: 10.12 MB / 414.1 MB Notification: Performance of pre-optimization done (n=41): time 2.385e-06/0.5675, allocations: 0 / 0.5655 GB, free: 10.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=46): time 0.002605/0.5702, allocations: 1.166 MB / 0.5666 GB, free: 8.918 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.951e-05/0.5702, allocations: 55.41 kB / 0.5667 GB, free: 8.852 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005243/0.5707, allocations: 405.7 kB / 0.567 GB, free: 8.445 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.224e-05/0.5708, allocations: 33.7 kB / 0.5671 GB, free: 8.406 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003064/0.5711, allocations: 384 kB / 0.5674 GB, free: 8.023 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001701/0.5713, allocations: 170.5 kB / 0.5676 GB, free: 7.855 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002056/0.5715, allocations: 126.6 kB / 0.5677 GB, free: 7.727 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002126/0.5717, allocations: 358.8 kB / 0.5681 GB, free: 7.367 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002926/0.572, allocations: 149.9 kB / 0.5682 GB, free: 7.219 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000534/0.5725, allocations: 392.4 kB / 0.5686 GB, free: 6.734 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008693/0.5734, allocations: 0.5747 MB / 0.5692 GB, free: 6.051 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/0.5734, allocations: 4 kB / 0.5692 GB, free: 6.047 MB / 414.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001132/0.5745, allocations: 0.6132 MB / 0.5698 GB, free: 5.426 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.695e-05/0.5745, allocations: 12.03 kB / 0.5698 GB, free: 5.414 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.748e-05/0.5745, allocations: 8 kB / 0.5698 GB, free: 5.406 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.024e-05/0.5746, allocations: 15.94 kB / 0.5698 GB, free: 5.391 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008118/0.5754, allocations: 207.7 kB / 0.57 GB, free: 5.188 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.153e-05/0.5754, allocations: 12 kB / 0.57 GB, free: 5.176 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000347/0.5758, allocations: 20 kB / 0.57 GB, free: 5.156 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.521e-05/0.5758, allocations: 43.92 kB / 0.5701 GB, free: 5.113 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.0003317/0.5762, allocations: 201.6 kB / 0.5703 GB, free: 4.906 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/0.5763, allocations: 47.67 kB / 0.5703 GB, free: 4.859 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001033/0.5773, allocations: 0.4972 MB / 0.5708 GB, free: 4.359 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.079e-05/0.5773, allocations: 11.94 kB / 0.5708 GB, free: 4.348 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.5773, allocations: 0 / 0.5708 GB, free: 4.348 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.5773, allocations: 0 / 0.5708 GB, free: 4.348 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008002/0.5781, allocations: 474.6 kB / 0.5712 GB, free: 3.836 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/0.5782, allocations: 4.125 kB / 0.5713 GB, free: 3.832 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005843/0.5787, allocations: 147.8 kB / 0.5714 GB, free: 3.688 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.756e-06/0.5787, allocations: 7.984 kB / 0.5714 GB, free: 3.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.456e-05/0.5788, allocations: 12 kB / 0.5714 GB, free: 3.668 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-05/0.5788, allocations: 4 kB / 0.5714 GB, free: 3.664 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/0.5788, allocations: 7.938 kB / 0.5714 GB, free: 3.656 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001119/0.5799, allocations: 0.7303 MB / 0.5721 GB, free: 2.898 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000226/0.5801, allocations: 87.61 kB / 0.5722 GB, free: 2.812 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.579e-05/0.5802, allocations: 12 kB / 0.5722 GB, free: 2.801 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001978/0.5804, allocations: 7.984 kB / 0.5722 GB, free: 2.793 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.97e-05/0.5805, allocations: 40.31 kB / 0.5723 GB, free: 2.754 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.218e-05/0.5805, allocations: 23.94 kB / 0.5723 GB, free: 2.73 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000321/0.5809, allocations: 259.2 kB / 0.5725 GB, free: 2.477 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5809, allocations: 0 / 0.5725 GB, free: 2.477 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001237/0.5821, allocations: 335.1 kB / 0.5729 GB, free: 2.148 MB / 414.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.0009609/0.5831, allocations: 437.9 kB / 0.5733 GB, free: 1.707 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007953/0.5839, allocations: 410.3 kB / 0.5737 GB, free: 1.305 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.5839, allocations: 0 / 0.5737 GB, free: 1.305 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003395/0.5842, allocations: 195 kB / 0.5739 GB, free: 1.117 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007176/0.5849, allocations: 126.7 kB / 0.574 GB, free: 1 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00225/0.5872, allocations: 1.215 MB / 0.5752 GB, free: 15.75 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003403/0.5875, allocations: 288.1 kB / 0.5754 GB, free: 15.44 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004068/0.5879, allocations: 124.4 kB / 0.5756 GB, free: 15.32 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001885/0.5881, allocations: 71.41 kB / 0.5756 GB, free: 15.25 MB / 430.1 MB Notification: Performance of SimCode: time 8.42e-07/0.5881, allocations: 0 / 0.5756 GB, free: 15.25 MB / 430.1 MB Notification: Performance of Templates: time 0.02172/0.6098, allocations: 11.16 MB / 0.5865 GB, free: 4.184 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.sim & ./Chemical_master_Chemical.Obsolete.Examples.SimpleReaction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.949703963007778] Failed to read output from testmodel.py, exit status != 0: 0.619324326980859 0.6345440480000001 0.082082868 Calling exit ...