Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.SimpleReaction2.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.001568/0.001568, 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.001443/0.001443, allocations: 212.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.433/1.433, 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 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.1516/0.1516, allocations: 23.87 MB / 337.1 MB, free: 10.97 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.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.SimpleReaction2") translateModel(Chemical.Obsolete.Examples.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.SimpleReaction2") [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.002076/0.002076, allocations: 71.89 kB / 472.4 MB, free: 7.016 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2991/0.3011, allocations: 59.86 MB / 0.5198 GB, free: 9.805 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.SimpleReaction2): time 0.0722/0.3733, allocations: 25.36 MB / 0.5445 GB, free: 14.2 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01529/0.3886, allocations: 10.25 MB / 0.5545 GB, free: 4.871 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008174/0.3894, allocations: 19.81 kB / 0.5545 GB, free: 4.852 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007842/0.3902, allocations: 237.1 kB / 0.5548 GB, free: 4.676 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002705/0.3929, allocations: 1.002 MB / 0.5558 GB, free: 3.824 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004396/0.3973, allocations: 1.532 MB / 0.5572 GB, free: 2.562 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001745/0.3991, allocations: 1.252 MB / 0.5585 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007888/0.3999, allocations: 0.5767 MB / 0.559 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006927/0.4006, allocations: 0.62 MB / 0.5596 GB, free: 428 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009431/0.4015, allocations: 0.6788 MB / 0.5603 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001757/0.4017, allocations: 108 kB / 0.5604 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003159/0.4048, allocations: 1.251 MB / 0.5616 GB, free: 14.64 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002848/0.4051, allocations: 262.9 kB / 0.5619 GB, free: 14.43 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005054/0.4056, allocations: 471.9 kB / 0.5623 GB, free: 14.01 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00402/0.4096, allocations: 2.588 MB / 0.5649 GB, free: 11.65 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.4096, allocations: 0 / 0.5649 GB, free: 11.65 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.4097, allocations: 0 / 0.5649 GB, free: 11.65 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.262e-05/0.4097, allocations: 0 / 0.5649 GB, free: 11.65 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.002789/0.4125, allocations: 1.45 MB / 0.5663 GB, free: 10.16 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.4125, allocations: 8.031 kB / 0.5663 GB, free: 10.16 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009874/0.4135, allocations: 211.9 kB / 0.5665 GB, free: 9.949 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009932/0.4145, allocations: 0.5154 MB / 0.567 GB, free: 9.406 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001284/0.4146, allocations: 121.9 kB / 0.5671 GB, free: 9.273 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001976/0.4148, allocations: 100.3 kB / 0.5672 GB, free: 9.176 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001871/0.4167, allocations: 1.045 MB / 0.5682 GB, free: 8.113 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.343e-05/0.4167, allocations: 4 kB / 0.5682 GB, free: 8.109 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001059/0.4168, allocations: 36 kB / 0.5683 GB, free: 8.074 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.366e-05/0.4168, allocations: 20 kB / 0.5683 GB, free: 8.055 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002232/0.4191, allocations: 1.265 MB / 0.5695 GB, free: 6.789 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.005205/0.4243, allocations: 2.701 MB / 0.5721 GB, free: 4.012 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002307/0.4266, allocations: 1.242 MB / 0.5734 GB, free: 2.766 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006592/0.4272, allocations: 399.6 kB / 0.5737 GB, free: 2.371 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004737/0.432, allocations: 2.065 MB / 0.5758 GB, free: 292 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/0.432, allocations: 39.06 kB / 0.5758 GB, free: 240 kB / 414.1 MB Notification: Performance of pre-optimization done (n=56): time 2.615e-06/0.432, allocations: 0 / 0.5758 GB, free: 240 kB / 414.1 MB Notification: Performance of matching and sorting (n=63): time 0.003362/0.4354, allocations: 1.599 MB / 0.5774 GB, free: 14.61 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.5e-05/0.4354, allocations: 64 kB / 0.5774 GB, free: 14.53 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005722/0.436, allocations: 0.4986 MB / 0.5779 GB, free: 14.02 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.778e-05/0.436, allocations: 37.7 kB / 0.5779 GB, free: 13.98 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003359/0.4364, allocations: 471.7 kB / 0.5784 GB, free: 13.51 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001965/0.4366, allocations: 238 kB / 0.5786 GB, free: 13.27 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002432/0.4368, allocations: 174.6 kB / 0.5788 GB, free: 13.1 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001876/0.437, allocations: 378.8 kB / 0.5791 GB, free: 12.72 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000395/0.4374, allocations: 209.9 kB / 0.5793 GB, free: 12.51 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006592/0.438, allocations: 0.5296 MB / 0.5799 GB, free: 11.84 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00115/0.4392, allocations: 0.8143 MB / 0.5807 GB, free: 10.87 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.4392, allocations: 4 kB / 0.5807 GB, free: 10.87 MB / 430.1 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.001415/0.4406, allocations: 0.8564 MB / 0.5815 GB, free: 10 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.4406, allocations: 8 kB / 0.5815 GB, free: 9.996 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.548e-05/0.4407, allocations: 12 kB / 0.5815 GB, free: 9.984 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.331e-05/0.4407, allocations: 19.98 kB / 0.5815 GB, free: 9.965 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001018/0.4417, allocations: 263.6 kB / 0.5818 GB, free: 9.707 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.857e-05/0.4417, allocations: 24.09 kB / 0.5818 GB, free: 9.684 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004117/0.4421, allocations: 35.94 kB / 0.5818 GB, free: 9.648 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.137e-05/0.4422, allocations: 51.98 kB / 0.5819 GB, free: 9.598 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (115): * Single equations (assignments): 115 * 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.0003302/0.4426, allocations: 237.5 kB / 0.5821 GB, free: 9.355 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/0.4427, allocations: 63.58 kB / 0.5822 GB, free: 9.293 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001369/0.444, allocations: 0.6871 MB / 0.5829 GB, free: 8.598 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.347e-06/0.444, allocations: 3.984 kB / 0.5829 GB, free: 8.594 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/0.4441, allocations: 11.88 kB / 0.5829 GB, free: 8.582 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002554/0.4443, allocations: 111.5 kB / 0.583 GB, free: 8.473 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.711e-05/0.4444, allocations: 12 kB / 0.583 GB, free: 8.461 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002828/0.4447, allocations: 15.98 kB / 0.583 GB, free: 8.445 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.4448, allocations: 44.58 kB / 0.583 GB, free: 8.402 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001377/0.4462, allocations: 0.6689 MB / 0.5837 GB, free: 7.73 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00143/0.4476, allocations: 0.9853 MB / 0.5847 GB, free: 6.727 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003637/0.448, allocations: 225.2 kB / 0.5849 GB, free: 6.504 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003592/0.4483, allocations: 318.9 kB / 0.5852 GB, free: 6.195 MB / 430.1 MB Notification: Performance of Backend: time 3.3e-07/0.4483, allocations: 0 / 0.5852 GB, free: 6.195 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002612/0.4509, allocations: 1.122 MB / 0.5863 GB, free: 5.07 MB / 430.1 MB Notification: Performance of SimCode: time 0.002481/0.4534, allocations: 1.877 MB / 0.5881 GB, free: 3.137 MB / 430.1 MB Notification: Performance of Templates: time 0.0292/0.4826, allocations: 18.89 MB / 0.6066 GB, free: 336 kB / 446.1 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.SimpleReaction2.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.SimpleReaction2.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.SimpleReaction2.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.SimpleReaction2.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.SimpleReaction2.sim & ./Chemical_Chemical.Obsolete.Examples.SimpleReaction2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.SimpleReaction2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.393483318010112] Failed to read output from testmodel.py, exit status != 0: 0.4909766920027323 0.505092159 0.092416673 Calling exit ...