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.001365/0.001365, allocations: 117.8 kB / 17.13 MB, free: 6.004 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.00155/0.00155, allocations: 217.8 kB / 20.1 MB, free: 3.051 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.58/1.58, allocations: 230.6 MB / 253.5 MB, free: 15.07 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.1575/0.1575, allocations: 23.85 MB / 333.4 MB, free: 1.199 MB / 254.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.002007/0.002007, allocations: 68.39 kB / 467.1 MB, free: 30.61 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1542, allocations: 59.82 MB / 0.5146 GB, free: 12.57 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.05597/0.2101, allocations: 24.85 MB / 0.5389 GB, free: 3.766 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.013/0.2231, allocations: 8.021 MB / 0.5467 GB, free: 11.71 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008059/0.224, allocations: 15.88 kB / 0.5467 GB, free: 11.7 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006358/0.2246, allocations: 186.5 kB / 0.5469 GB, free: 11.51 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002102/0.2267, allocations: 0.6942 MB / 0.5476 GB, free: 10.81 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003308/0.23, allocations: 1.033 MB / 0.5486 GB, free: 9.773 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001485/0.2315, allocations: 0.9355 MB / 0.5495 GB, free: 8.832 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007805/0.2323, allocations: 445.8 kB / 0.5499 GB, free: 8.387 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005955/0.2329, allocations: 458.8 kB / 0.5504 GB, free: 7.938 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006989/0.2336, allocations: 0.5021 MB / 0.5509 GB, free: 7.434 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001184/0.2337, allocations: 80 kB / 0.5509 GB, free: 7.355 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002648/0.2363, allocations: 0.8775 MB / 0.5518 GB, free: 6.477 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002222/0.2365, allocations: 191.4 kB / 0.552 GB, free: 6.289 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004492/0.237, allocations: 418.1 kB / 0.5524 GB, free: 5.879 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003531/0.2405, allocations: 1.821 MB / 0.5542 GB, free: 4.051 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.2405, allocations: 0 / 0.5542 GB, free: 4.051 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2405, allocations: 4 kB / 0.5542 GB, free: 4.047 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.867e-05/0.2406, allocations: 0 / 0.5542 GB, free: 4.047 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002298/0.2428, allocations: 1.191 MB / 0.5553 GB, free: 2.801 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.2429, allocations: 12.03 kB / 0.5553 GB, free: 2.789 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006978/0.2436, allocations: 156.1 kB / 0.5555 GB, free: 2.637 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000815/0.2444, allocations: 491.6 kB / 0.556 GB, free: 2.121 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000113/0.2445, allocations: 80.25 kB / 0.556 GB, free: 2.039 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001318/0.2447, allocations: 72.33 kB / 0.5561 GB, free: 1.969 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001394/0.246, allocations: 0.7738 MB / 0.5569 GB, free: 1.176 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/0.2461, allocations: 4 kB / 0.5569 GB, free: 1.172 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.701e-05/0.2461, allocations: 32 kB / 0.5569 GB, free: 1.141 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.664e-05/0.2462, allocations: 16 kB / 0.5569 GB, free: 1.125 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00151/0.2477, allocations: 0.8757 MB / 0.5578 GB, free: 252 kB / 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.004291/0.252, allocations: 2.572 MB / 0.5603 GB, free: 13.53 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001625/0.2536, allocations: 0.9698 MB / 0.5612 GB, free: 12.52 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004826/0.2541, allocations: 282.4 kB / 0.5615 GB, free: 12.23 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004481/0.2585, allocations: 2.836 MB / 0.5643 GB, free: 9.07 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.003e-05/0.2586, allocations: 46.5 kB / 0.5643 GB, free: 9.016 MB / 430.1 MB Notification: Performance of pre-optimization done (n=41): time 2.013e-06/0.2586, allocations: 0 / 0.5643 GB, free: 9.016 MB / 430.1 MB Notification: Performance of matching and sorting (n=46): time 0.002786/0.2614, allocations: 1.237 MB / 0.5655 GB, free: 7.727 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.97e-05/0.2614, allocations: 59.41 kB / 0.5656 GB, free: 7.656 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005236/0.262, allocations: 421.8 kB / 0.566 GB, free: 7.242 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.088e-05/0.262, allocations: 37.7 kB / 0.566 GB, free: 7.199 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000285/0.2623, allocations: 368.1 kB / 0.5664 GB, free: 6.832 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001535/0.2624, allocations: 178.5 kB / 0.5665 GB, free: 6.656 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00021/0.2626, allocations: 130.6 kB / 0.5666 GB, free: 6.52 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002054/0.2629, allocations: 358.8 kB / 0.567 GB, free: 6.16 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002891/0.2631, allocations: 149.9 kB / 0.5671 GB, free: 6.016 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004989/0.2636, allocations: 388.3 kB / 0.5675 GB, free: 5.531 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008658/0.2645, allocations: 0.5786 MB / 0.5681 GB, free: 4.844 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.2645, allocations: 4 kB / 0.5681 GB, free: 4.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.00106/0.2656, allocations: 0.6125 MB / 0.5687 GB, free: 4.219 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.2656, allocations: 12 kB / 0.5687 GB, free: 4.207 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/0.2656, allocations: 11.88 kB / 0.5687 GB, free: 4.195 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.384e-05/0.2656, allocations: 12.78 kB / 0.5687 GB, free: 4.184 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007511/0.2664, allocations: 203.8 kB / 0.5689 GB, free: 3.984 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.87e-05/0.2664, allocations: 19.92 kB / 0.5689 GB, free: 3.965 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002988/0.2667, allocations: 20 kB / 0.5689 GB, free: 3.945 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.568e-05/0.2668, allocations: 36 kB / 0.569 GB, free: 3.91 MB / 430.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.0002861/0.2671, allocations: 201.6 kB / 0.5692 GB, free: 3.703 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/0.2672, allocations: 55.67 kB / 0.5692 GB, free: 3.648 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001023/0.2682, allocations: 0.4935 MB / 0.5697 GB, free: 3.148 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.2682, allocations: 8 kB / 0.5697 GB, free: 3.141 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.2682, allocations: 0 / 0.5697 GB, free: 3.141 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.176e-06/0.2682, allocations: 3.984 kB / 0.5697 GB, free: 3.137 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009189/0.2691, allocations: 0.6238 MB / 0.5703 GB, free: 2.445 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.2691, allocations: 0 / 0.5703 GB, free: 2.445 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006004/0.2697, allocations: 147.9 kB / 0.5705 GB, free: 2.301 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.613e-06/0.2697, allocations: 4 kB / 0.5705 GB, free: 2.297 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.951e-05/0.2698, allocations: 19.94 kB / 0.5705 GB, free: 2.277 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.2698, allocations: 0 / 0.5705 GB, free: 2.277 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.534e-06/0.2698, allocations: 11.97 kB / 0.5705 GB, free: 2.266 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001176/0.271, allocations: 0.7228 MB / 0.5712 GB, free: 1.508 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002203/0.2712, allocations: 160.8 kB / 0.5714 GB, free: 1.332 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.641e-05/0.2713, allocations: 15.94 kB / 0.5714 GB, free: 1.316 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002065/0.2715, allocations: 8 kB / 0.5714 GB, free: 1.309 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.2716, allocations: 48.33 kB / 0.5714 GB, free: 1.262 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.719e-05/0.2716, allocations: 20 kB / 0.5714 GB, free: 1.242 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003268/0.2719, allocations: 275.1 kB / 0.5717 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2719, allocations: 0 / 0.5717 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001053/0.273, allocations: 339 kB / 0.572 GB, free: 0.6484 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.0008519/0.2738, allocations: 442 kB / 0.5724 GB, free: 212 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00082/0.2747, allocations: 420.8 kB / 0.5729 GB, free: 15.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.2747, allocations: 1.938 kB / 0.5729 GB, free: 15.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003087/0.275, allocations: 186.4 kB / 0.573 GB, free: 15.61 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007341/0.2757, allocations: 135.4 kB / 0.5732 GB, free: 15.48 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002226/0.2779, allocations: 1.23 MB / 0.5744 GB, free: 14.21 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005778/0.2785, allocations: 0.8899 MB / 0.5752 GB, free: 13.29 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002223/0.2787, allocations: 95.39 kB / 0.5753 GB, free: 13.2 MB / 446.1 MB Notification: Performance of SimCode: time 5.71e-07/0.2787, allocations: 0 / 0.5753 GB, free: 13.2 MB / 446.1 MB Notification: Performance of Templates: time 0.01565/0.2944, allocations: 9.372 MB / 0.5845 GB, free: 3.852 MB / 446.1 MB " [Timeout remaining time 660] 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: 8.978069644013885] Failed to read output from testmodel.py, exit status != 0: 0.3026288209948689 0.581645557 0.33792115500000003 Calling exit ...