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.001301/0.001301, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.00149/0.00149, allocations: 210.6 kB / 23 MB, free: 4.934 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.471/1.471, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.1385/0.1385, allocations: 23.93 MB / 337.1 MB, free: 10.94 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.002161/0.002161, allocations: 72.17 kB / 472.4 MB, free: 6.973 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3484/0.3506, allocations: 59.88 MB / 0.5198 GB, free: 9.93 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.06933/0.4199, allocations: 24.66 MB / 0.5439 GB, free: 14.99 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01098/0.4309, allocations: 7.047 MB / 0.5508 GB, free: 8.578 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006846/0.4316, allocations: 19.88 kB / 0.5508 GB, free: 8.559 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006235/0.4322, allocations: 169.5 kB / 0.551 GB, free: 8.434 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001977/0.4342, allocations: 0.7022 MB / 0.5517 GB, free: 7.836 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002883/0.4371, allocations: 1.048 MB / 0.5527 GB, free: 6.977 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00134/0.4384, allocations: 0.941 MB / 0.5536 GB, free: 6.129 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000606/0.439, allocations: 427.5 kB / 0.554 GB, free: 5.809 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005409/0.4395, allocations: 469.2 kB / 0.5545 GB, free: 5.398 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007482/0.4403, allocations: 0.4973 MB / 0.5549 GB, free: 4.996 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001348/0.4404, allocations: 80 kB / 0.555 GB, free: 4.918 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00234/0.4428, allocations: 0.8369 MB / 0.5558 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002776/0.443, allocations: 198.3 kB / 0.556 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004562/0.4435, allocations: 350.8 kB / 0.5564 GB, free: 3.695 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003937/0.4474, allocations: 1.82 MB / 0.5581 GB, free: 2.238 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.4474, allocations: 0.7969 kB / 0.5581 GB, free: 2.238 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.4474, allocations: 0 / 0.5581 GB, free: 2.238 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.209e-05/0.4475, allocations: 0 / 0.5581 GB, free: 2.238 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.002391/0.4499, allocations: 1.112 MB / 0.5592 GB, free: 1.188 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.4499, allocations: 8.031 kB / 0.5592 GB, free: 1.18 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007439/0.4506, allocations: 158.5 kB / 0.5594 GB, free: 1.043 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008982/0.4515, allocations: 426.6 kB / 0.5598 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001227/0.4517, allocations: 110.7 kB / 0.5599 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001388/0.4518, allocations: 72.89 kB / 0.56 GB, free: 480 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001474/0.4533, allocations: 0.7798 MB / 0.5607 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.058e-05/0.4533, allocations: 0 / 0.5607 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.617e-05/0.4534, allocations: 28.66 kB / 0.5608 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.665e-05/0.4534, allocations: 16 kB / 0.5608 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00153/0.4549, allocations: 0.8693 MB / 0.5616 GB, free: 15.02 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.004038/0.459, allocations: 1.994 MB / 0.5636 GB, free: 13.06 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001628/0.4606, allocations: 0.7968 MB / 0.5643 GB, free: 12.25 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004935/0.4611, allocations: 283.2 kB / 0.5646 GB, free: 11.98 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003488/0.4646, allocations: 1.504 MB / 0.5661 GB, free: 10.45 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.4646, allocations: 34.56 kB / 0.5661 GB, free: 10.41 MB / 414.1 MB Notification: Performance of pre-optimization done (n=41): time 2.305e-06/0.4646, allocations: 0 / 0.5661 GB, free: 10.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=46): time 0.002699/0.4673, allocations: 1.17 MB / 0.5673 GB, free: 9.203 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.766e-05/0.4673, allocations: 55.41 kB / 0.5673 GB, free: 9.137 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004998/0.4678, allocations: 405.7 kB / 0.5677 GB, free: 8.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.211e-05/0.4679, allocations: 33.7 kB / 0.5677 GB, free: 8.691 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002945/0.4682, allocations: 380 kB / 0.5681 GB, free: 8.312 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001551/0.4683, allocations: 174.5 kB / 0.5683 GB, free: 8.141 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001886/0.4685, allocations: 126.6 kB / 0.5684 GB, free: 8.012 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002051/0.4687, allocations: 354.8 kB / 0.5687 GB, free: 7.656 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002998/0.469, allocations: 149.9 kB / 0.5689 GB, free: 7.508 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000501/0.4695, allocations: 396.3 kB / 0.5692 GB, free: 7.02 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000851/0.4704, allocations: 0.5708 MB / 0.5698 GB, free: 6.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.4704, allocations: 0 / 0.5698 GB, free: 6.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001065/0.4714, allocations: 0.6209 MB / 0.5704 GB, free: 5.711 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/0.4715, allocations: 8 kB / 0.5704 GB, free: 5.703 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.4715, allocations: 8 kB / 0.5704 GB, free: 5.695 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.408e-05/0.4715, allocations: 12 kB / 0.5704 GB, free: 5.684 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007744/0.4723, allocations: 211.6 kB / 0.5706 GB, free: 5.477 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.384e-05/0.4723, allocations: 16.12 kB / 0.5706 GB, free: 5.461 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003198/0.4726, allocations: 24 kB / 0.5707 GB, free: 5.438 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.448e-05/0.4727, allocations: 39.98 kB / 0.5707 GB, free: 5.398 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.0002877/0.473, allocations: 201.6 kB / 0.5709 GB, free: 5.191 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.345e-05/0.4731, allocations: 55.66 kB / 0.571 GB, free: 5.137 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00103/0.4741, allocations: 0.4895 MB / 0.5714 GB, free: 4.645 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.435e-06/0.4741, allocations: 3.938 kB / 0.5714 GB, free: 4.641 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.4741, allocations: 0 / 0.5714 GB, free: 4.641 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002175/0.4743, allocations: 79.62 kB / 0.5715 GB, free: 4.562 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.323e-05/0.4744, allocations: 15.98 kB / 0.5715 GB, free: 4.547 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002098/0.4746, allocations: 4 kB / 0.5715 GB, free: 4.543 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.368e-05/0.4747, allocations: 40.38 kB / 0.5716 GB, free: 4.504 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001086/0.4758, allocations: 0.5153 MB / 0.5721 GB, free: 3.98 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001125/0.4769, allocations: 0.7514 MB / 0.5728 GB, free: 3.211 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002666/0.4772, allocations: 155.5 kB / 0.573 GB, free: 3.062 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003249/0.4775, allocations: 259.2 kB / 0.5732 GB, free: 2.809 MB / 414.1 MB Notification: Performance of Backend: time 4.51e-07/0.4775, allocations: 0 / 0.5732 GB, free: 2.809 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002163/0.4797, allocations: 0.7924 MB / 0.574 GB, free: 2.004 MB / 414.1 MB Notification: Performance of SimCode: time 0.002429/0.4821, allocations: 1.607 MB / 0.5755 GB, free: 368 kB / 414.1 MB Notification: Performance of Templates: time 0.02253/0.5046, allocations: 13.3 MB / 0.5885 GB, free: 3.125 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.262466108993976] Failed to read output from testmodel.py, exit status != 0: 0.5133418820041697 0.527881093 0.07725796700000001 Calling exit ...