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.001595/0.001595, allocations: 107.8 kB / 19.71 MB, free: 2.145 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.001496/0.001496, allocations: 216.1 kB / 23 MB, free: 4.969 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.498/1.498, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.1438/0.1438, allocations: 23.87 MB / 337.1 MB, free: 11 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.002071/0.002071, allocations: 63.91 kB / 472.4 MB, free: 7.059 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.328, allocations: 59.86 MB / 0.5198 GB, free: 9.832 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.0726/0.4006, allocations: 24.74 MB / 0.5439 GB, free: 14.76 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01088/0.4115, allocations: 7.059 MB / 0.5508 GB, free: 8.34 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006246/0.4121, allocations: 11.88 kB / 0.5508 GB, free: 8.328 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006093/0.4127, allocations: 174.4 kB / 0.551 GB, free: 8.199 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001886/0.4146, allocations: 0.7019 MB / 0.5517 GB, free: 7.602 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002697/0.4173, allocations: 1.049 MB / 0.5527 GB, free: 6.742 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001245/0.4185, allocations: 0.9396 MB / 0.5536 GB, free: 5.895 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005856/0.4191, allocations: 432.1 kB / 0.554 GB, free: 5.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005296/0.4196, allocations: 468.7 kB / 0.5545 GB, free: 5.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007247/0.4204, allocations: 0.4935 MB / 0.555 GB, free: 4.762 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001459/0.4205, allocations: 80 kB / 0.555 GB, free: 4.684 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001909/0.4224, allocations: 0.8409 MB / 0.5559 GB, free: 3.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002186/0.4226, allocations: 193.7 kB / 0.556 GB, free: 3.773 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003964/0.423, allocations: 355.6 kB / 0.5564 GB, free: 3.457 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002677/0.4257, allocations: 1.812 MB / 0.5581 GB, free: 2.008 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.4257, allocations: 4 kB / 0.5581 GB, free: 2.004 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.4257, allocations: 0 / 0.5581 GB, free: 2.004 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.207e-06/0.4257, allocations: 0 / 0.5581 GB, free: 2.004 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.00206/0.4278, allocations: 1.12 MB / 0.5592 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.4278, allocations: 8.781 kB / 0.5593 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006579/0.4285, allocations: 158 kB / 0.5594 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008143/0.4293, allocations: 426.2 kB / 0.5598 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001223/0.4294, allocations: 102.8 kB / 0.5599 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001448/0.4296, allocations: 73.08 kB / 0.56 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001381/0.4309, allocations: 0.7761 MB / 0.5607 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.213e-05/0.431, allocations: 11.81 kB / 0.5607 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.323e-05/0.431, allocations: 28 kB / 0.5608 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.83e-05/0.4311, allocations: 16.61 kB / 0.5608 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001496/0.4326, allocations: 0.8699 MB / 0.5616 GB, free: 14.78 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.003901/0.4365, allocations: 1.988 MB / 0.5636 GB, free: 12.87 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001534/0.438, allocations: 0.7967 MB / 0.5644 GB, free: 12.07 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004576/0.4384, allocations: 275.2 kB / 0.5646 GB, free: 11.8 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003353/0.4418, allocations: 1.508 MB / 0.5661 GB, free: 10.27 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/0.4418, allocations: 38.56 kB / 0.5661 GB, free: 10.22 MB / 414.1 MB Notification: Performance of pre-optimization done (n=41): time 2.074e-06/0.4418, allocations: 0 / 0.5661 GB, free: 10.22 MB / 414.1 MB Notification: Performance of matching and sorting (n=46): time 0.002424/0.4443, allocations: 1.17 MB / 0.5673 GB, free: 9.016 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.4443, allocations: 59.41 kB / 0.5673 GB, free: 8.945 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004549/0.4448, allocations: 397.7 kB / 0.5677 GB, free: 8.547 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.623e-05/0.4448, allocations: 41.69 kB / 0.5677 GB, free: 8.5 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002775/0.4451, allocations: 380 kB / 0.5681 GB, free: 8.121 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001443/0.4452, allocations: 166.6 kB / 0.5683 GB, free: 7.957 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001831/0.4454, allocations: 134.6 kB / 0.5684 GB, free: 7.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.4456, allocations: 358.8 kB / 0.5687 GB, free: 7.461 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003011/0.4459, allocations: 145.9 kB / 0.5689 GB, free: 7.316 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004903/0.4464, allocations: 392.3 kB / 0.5693 GB, free: 6.832 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008315/0.4472, allocations: 0.5786 MB / 0.5698 GB, free: 6.145 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.4472, allocations: 3.938 kB / 0.5698 GB, free: 6.141 MB / 414.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001035/0.4482, allocations: 0.6086 MB / 0.5704 GB, free: 5.523 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.4483, allocations: 8 kB / 0.5704 GB, free: 5.516 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.4483, allocations: 8.844 kB / 0.5704 GB, free: 5.508 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.688e-05/0.4483, allocations: 12 kB / 0.5704 GB, free: 5.496 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007849/0.4491, allocations: 211.6 kB / 0.5706 GB, free: 5.289 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.045e-05/0.4491, allocations: 19.92 kB / 0.5707 GB, free: 5.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002989/0.4494, allocations: 20 kB / 0.5707 GB, free: 5.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.682e-05/0.4495, allocations: 32 kB / 0.5707 GB, free: 5.219 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.0002818/0.4497, allocations: 209.6 kB / 0.5709 GB, free: 5.004 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.726e-05/0.4498, allocations: 47.67 kB / 0.571 GB, free: 4.957 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009993/0.4508, allocations: 0.5011 MB / 0.5714 GB, free: 4.453 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.888e-06/0.4508, allocations: 7.922 kB / 0.5715 GB, free: 4.445 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.4508, allocations: 0 / 0.5715 GB, free: 4.445 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001938/0.451, allocations: 75.62 kB / 0.5715 GB, free: 4.371 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.088e-05/0.4511, allocations: 15.94 kB / 0.5715 GB, free: 4.355 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002141/0.4513, allocations: 12 kB / 0.5716 GB, free: 4.344 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.967e-05/0.4514, allocations: 32.38 kB / 0.5716 GB, free: 4.312 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001057/0.4525, allocations: 0.5114 MB / 0.5721 GB, free: 3.793 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001059/0.4535, allocations: 0.7593 MB / 0.5728 GB, free: 3.016 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002629/0.4538, allocations: 159.4 kB / 0.573 GB, free: 2.863 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003029/0.4541, allocations: 263.1 kB / 0.5732 GB, free: 2.605 MB / 414.1 MB Notification: Performance of Backend: time 2.71e-07/0.4541, allocations: 0 / 0.5732 GB, free: 2.605 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001924/0.456, allocations: 0.7889 MB / 0.574 GB, free: 1.805 MB / 414.1 MB Notification: Performance of SimCode: time 0.002175/0.4582, allocations: 1.604 MB / 0.5756 GB, free: 164 kB / 414.1 MB Notification: Performance of Templates: time 0.02207/0.4803, allocations: 13.11 MB / 0.5884 GB, free: 3.117 MB / 430.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: 5.281066695984919] Failed to read output from testmodel.py, exit status != 0: 0.48903454799437895 0.504174828 0.07527574000000001 Calling exit ...