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.001276/0.001276, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001499/0.001499, allocations: 207.8 kB / 22.99 MB, free: 4.957 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.499/1.499, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.1652/0.1652, allocations: 23.88 MB / 337.1 MB, free: 10.99 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.00201/0.00201, allocations: 67.89 kB / 472.4 MB, free: 7.039 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4072/0.4092, allocations: 59.85 MB / 0.5197 GB, free: 9.812 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.07711/0.4863, allocations: 24.68 MB / 0.5438 GB, free: 14.86 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01219/0.4985, allocations: 7.051 MB / 0.5507 GB, free: 8.445 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001023/0.4996, allocations: 15.88 kB / 0.5507 GB, free: 8.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007452/0.5003, allocations: 169.5 kB / 0.5509 GB, free: 8.305 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002642/0.5029, allocations: 0.7021 MB / 0.5516 GB, free: 7.707 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003588/0.5065, allocations: 1.048 MB / 0.5526 GB, free: 6.848 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001825/0.5084, allocations: 0.9361 MB / 0.5535 GB, free: 6.004 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007122/0.5091, allocations: 436.2 kB / 0.5539 GB, free: 5.676 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006362/0.5097, allocations: 473.3 kB / 0.5544 GB, free: 5.262 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007805/0.5105, allocations: 0.493 MB / 0.5549 GB, free: 4.863 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001418/0.5106, allocations: 80 kB / 0.5549 GB, free: 4.785 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003002/0.5136, allocations: 0.837 MB / 0.5558 GB, free: 4.035 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002643/0.5139, allocations: 194 kB / 0.5559 GB, free: 3.879 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004542/0.5143, allocations: 355.2 kB / 0.5563 GB, free: 3.562 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004371/0.5187, allocations: 1.82 MB / 0.5581 GB, free: 2.105 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.5187, allocations: 0 / 0.5581 GB, free: 2.105 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.5187, allocations: 0 / 0.5581 GB, free: 2.105 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.847e-05/0.5187, allocations: 4 kB / 0.5581 GB, free: 2.102 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.002401/0.5211, allocations: 1.112 MB / 0.5592 GB, free: 1.051 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.5212, allocations: 8.828 kB / 0.5592 GB, free: 1.043 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007374/0.5219, allocations: 157.4 kB / 0.5593 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009367/0.5229, allocations: 426.8 kB / 0.5597 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001279/0.523, allocations: 106.7 kB / 0.5598 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001598/0.5232, allocations: 72.98 kB / 0.5599 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001502/0.5247, allocations: 0.7722 MB / 0.5606 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.077e-05/0.5247, allocations: 0.6562 kB / 0.5606 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.424e-05/0.5248, allocations: 28 kB / 0.5607 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.905e-05/0.5248, allocations: 19.94 kB / 0.5607 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001615/0.5264, allocations: 0.8695 MB / 0.5615 GB, free: 14.89 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.004437/0.5308, allocations: 1.993 MB / 0.5635 GB, free: 12.99 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001625/0.5325, allocations: 0.7929 MB / 0.5643 GB, free: 12.19 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005056/0.533, allocations: 279.2 kB / 0.5645 GB, free: 11.92 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00378/0.5367, allocations: 1.508 MB / 0.566 GB, free: 10.39 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.63e-05/0.5368, allocations: 34.56 kB / 0.566 GB, free: 10.34 MB / 414.1 MB Notification: Performance of pre-optimization done (n=41): time 2.635e-06/0.5368, allocations: 3.938 kB / 0.566 GB, free: 10.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=46): time 0.002736/0.5395, allocations: 1.166 MB / 0.5672 GB, free: 9.141 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.834e-05/0.5396, allocations: 59.34 kB / 0.5672 GB, free: 9.07 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006208/0.5402, allocations: 409.7 kB / 0.5676 GB, free: 8.66 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.273e-05/0.5402, allocations: 33.7 kB / 0.5677 GB, free: 8.621 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003277/0.5406, allocations: 376.1 kB / 0.568 GB, free: 8.246 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001817/0.5407, allocations: 174.5 kB / 0.5682 GB, free: 8.074 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000192/0.5409, allocations: 130.6 kB / 0.5683 GB, free: 7.941 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.00023/0.5412, allocations: 358.8 kB / 0.5686 GB, free: 7.582 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00031/0.5415, allocations: 153.9 kB / 0.5688 GB, free: 7.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005137/0.542, allocations: 392.3 kB / 0.5692 GB, free: 6.945 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009243/0.5429, allocations: 0.567 MB / 0.5697 GB, free: 6.27 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.5429, allocations: 8 kB / 0.5697 GB, free: 6.262 MB / 414.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001169/0.5441, allocations: 0.6127 MB / 0.5703 GB, free: 5.641 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/0.5441, allocations: 11.94 kB / 0.5703 GB, free: 5.629 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.5441, allocations: 8 kB / 0.5703 GB, free: 5.621 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.986e-05/0.5442, allocations: 15.94 kB / 0.5704 GB, free: 5.605 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007972/0.545, allocations: 208.3 kB / 0.5706 GB, free: 5.402 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.579e-05/0.545, allocations: 19.92 kB / 0.5706 GB, free: 5.383 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003394/0.5453, allocations: 20 kB / 0.5706 GB, free: 5.363 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.614e-05/0.5454, allocations: 36 kB / 0.5706 GB, free: 5.328 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.0004394/0.5458, allocations: 205.6 kB / 0.5708 GB, free: 5.117 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.5459, allocations: 55.66 kB / 0.5709 GB, free: 5.062 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00105/0.547, allocations: 493.3 kB / 0.5714 GB, free: 4.578 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.21e-05/0.547, allocations: 7.938 kB / 0.5714 GB, free: 4.57 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.547, allocations: 4 kB / 0.5714 GB, free: 4.566 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.547, allocations: 3.984 kB / 0.5714 GB, free: 4.562 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008455/0.5479, allocations: 482.5 kB / 0.5718 GB, free: 4.043 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.115e-06/0.5479, allocations: 0 / 0.5718 GB, free: 4.043 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006181/0.5485, allocations: 139.9 kB / 0.572 GB, free: 3.906 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.5485, allocations: 8.125 kB / 0.572 GB, free: 3.898 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.564e-05/0.5485, allocations: 15.98 kB / 0.572 GB, free: 3.883 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.813e-06/0.5485, allocations: 4 kB / 0.572 GB, free: 3.879 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.5485, allocations: 7.938 kB / 0.572 GB, free: 3.871 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001149/0.5497, allocations: 0.7263 MB / 0.5727 GB, free: 3.117 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002204/0.5499, allocations: 79.62 kB / 0.5728 GB, free: 3.039 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.94e-05/0.55, allocations: 12 kB / 0.5728 GB, free: 3.027 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002106/0.5502, allocations: 12 kB / 0.5728 GB, free: 3.016 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.5503, allocations: 40.31 kB / 0.5728 GB, free: 2.977 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.982e-05/0.5503, allocations: 23.98 kB / 0.5729 GB, free: 2.953 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000319/0.5506, allocations: 259.2 kB / 0.5731 GB, free: 2.699 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.5506, allocations: 0 / 0.5731 GB, free: 2.699 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001163/0.5518, allocations: 339 kB / 0.5734 GB, free: 2.367 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.0008652/0.5527, allocations: 433.9 kB / 0.5738 GB, free: 1.93 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008435/0.5535, allocations: 417.9 kB / 0.5742 GB, free: 1.52 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.5535, allocations: 0 / 0.5742 GB, free: 1.52 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003764/0.5539, allocations: 186.4 kB / 0.5744 GB, free: 1.34 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007626/0.5547, allocations: 138.5 kB / 0.5746 GB, free: 1.207 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002353/0.557, allocations: 1.211 MB / 0.5757 GB, free: 15.96 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003365/0.5573, allocations: 292.1 kB / 0.576 GB, free: 15.64 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004157/0.5578, allocations: 112.5 kB / 0.5761 GB, free: 15.54 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001852/0.5579, allocations: 71.41 kB / 0.5762 GB, free: 15.46 MB / 430.1 MB Notification: Performance of SimCode: time 8.71e-07/0.5579, allocations: 0 / 0.5762 GB, free: 15.46 MB / 430.1 MB Notification: Performance of Templates: time 0.02118/0.5791, allocations: 11.17 MB / 0.5871 GB, free: 4.398 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 -s gbode -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.SimpleReaction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.569304756994825] Failed to read output from testmodel.py, exit status != 0: 0.5882444039889378 0.60358156 0.081626078 Calling exit ...