Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001555/0.001555, allocations: 109.1 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.00225/0.00225, allocations: 213.7 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.809 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.1464/0.1464, allocations: 23.92 MB / 337.1 MB, free: 10.93 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.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2") translateModel(Chemical.Obsolete.Examples.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_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.002011/0.002011, allocations: 71.89 kB / 472.4 MB, free: 6.953 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3107/0.3127, allocations: 59.88 MB / 0.5198 GB, free: 9.781 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.SimpleReaction2): time 0.07185/0.3846, allocations: 25.36 MB / 0.5446 GB, free: 14.13 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0153/0.3999, allocations: 10.26 MB / 0.5546 GB, free: 4.801 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000799/0.4007, allocations: 11.88 kB / 0.5546 GB, free: 4.789 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000802/0.4015, allocations: 237.3 kB / 0.5548 GB, free: 4.613 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003089/0.4046, allocations: 0.9978 MB / 0.5558 GB, free: 3.766 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004781/0.4094, allocations: 1.544 MB / 0.5573 GB, free: 2.492 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002259/0.4116, allocations: 1.247 MB / 0.5585 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009665/0.4126, allocations: 0.5693 MB / 0.5591 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009759/0.4136, allocations: 0.6192 MB / 0.5597 GB, free: 368 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001228/0.4148, allocations: 0.679 MB / 0.5604 GB, free: 15.81 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001893/0.415, allocations: 108 kB / 0.5605 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004203/0.4192, allocations: 1.255 MB / 0.5617 GB, free: 14.58 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003697/0.4195, allocations: 259 kB / 0.5619 GB, free: 14.37 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006537/0.4202, allocations: 471.5 kB / 0.5624 GB, free: 13.95 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005568/0.4258, allocations: 2.587 MB / 0.5649 GB, free: 11.58 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.4258, allocations: 0 / 0.5649 GB, free: 11.58 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.906e-06/0.4258, allocations: 3.938 kB / 0.5649 GB, free: 11.57 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.437e-05/0.4258, allocations: 0 / 0.5649 GB, free: 11.57 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.003168/0.429, allocations: 1.446 MB / 0.5663 GB, free: 10.09 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.986e-05/0.429, allocations: 12.03 kB / 0.5663 GB, free: 10.08 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00103/0.4301, allocations: 211.9 kB / 0.5665 GB, free: 9.875 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001035/0.4311, allocations: 0.5271 MB / 0.5671 GB, free: 9.32 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001386/0.4312, allocations: 122 kB / 0.5672 GB, free: 9.188 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001678/0.4314, allocations: 84.38 kB / 0.5673 GB, free: 9.105 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001981/0.4334, allocations: 1.053 MB / 0.5683 GB, free: 8.035 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.524e-05/0.4334, allocations: 4 kB / 0.5683 GB, free: 8.031 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/0.4335, allocations: 40 kB / 0.5683 GB, free: 7.992 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.171e-05/0.4335, allocations: 20 kB / 0.5683 GB, free: 7.973 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002208/0.4357, allocations: 1.265 MB / 0.5696 GB, free: 6.707 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.005457/0.4412, allocations: 2.705 MB / 0.5722 GB, free: 3.926 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002387/0.4436, allocations: 1.238 MB / 0.5734 GB, free: 2.684 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006537/0.4442, allocations: 387.7 kB / 0.5738 GB, free: 2.301 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004908/0.4491, allocations: 2.092 MB / 0.5758 GB, free: 192 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.422e-05/0.4492, allocations: 35.06 kB / 0.5759 GB, free: 144 kB / 414.1 MB Notification: Performance of pre-optimization done (n=56): time 2.615e-06/0.4492, allocations: 0 / 0.5759 GB, free: 144 kB / 414.1 MB Notification: Performance of matching and sorting (n=63): time 0.00343/0.4526, allocations: 1.588 MB / 0.5774 GB, free: 14.52 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.4527, allocations: 60 kB / 0.5775 GB, free: 14.45 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006084/0.4533, allocations: 0.4986 MB / 0.578 GB, free: 13.94 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.953e-05/0.4533, allocations: 37.7 kB / 0.578 GB, free: 13.9 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000343/0.4537, allocations: 475.7 kB / 0.5785 GB, free: 13.43 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000206/0.4539, allocations: 242 kB / 0.5787 GB, free: 13.19 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002454/0.4541, allocations: 170.6 kB / 0.5789 GB, free: 13.02 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001967/0.4543, allocations: 378.7 kB / 0.5792 GB, free: 12.64 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003974/0.4547, allocations: 209.9 kB / 0.5794 GB, free: 12.43 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006821/0.4554, allocations: 0.5296 MB / 0.5799 GB, free: 11.75 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001176/0.4566, allocations: 0.8143 MB / 0.5807 GB, free: 10.79 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.713e-06/0.4566, allocations: 8 kB / 0.5807 GB, free: 10.78 MB / 430.1 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.001494/0.4581, allocations: 0.8565 MB / 0.5816 GB, free: 9.918 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/0.4581, allocations: 12 kB / 0.5816 GB, free: 9.906 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/0.4581, allocations: 8 kB / 0.5816 GB, free: 9.898 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.066e-05/0.4581, allocations: 16 kB / 0.5816 GB, free: 9.883 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/0.4592, allocations: 263.6 kB / 0.5819 GB, free: 9.625 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.753e-05/0.4592, allocations: 27.86 kB / 0.5819 GB, free: 9.598 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004332/0.4596, allocations: 36.09 kB / 0.5819 GB, free: 9.562 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.894e-05/0.4597, allocations: 48 kB / 0.582 GB, free: 9.516 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.0003218/0.46, allocations: 237.5 kB / 0.5822 GB, free: 9.273 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001186/0.4602, allocations: 63.58 kB / 0.5823 GB, free: 9.211 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001403/0.4616, allocations: 0.691 MB / 0.5829 GB, free: 8.512 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.4616, allocations: 4 kB / 0.5829 GB, free: 8.508 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.838e-06/0.4616, allocations: 7.875 kB / 0.5829 GB, free: 8.5 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002667/0.4618, allocations: 115.5 kB / 0.5831 GB, free: 8.387 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.697e-05/0.4619, allocations: 12 kB / 0.5831 GB, free: 8.375 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002821/0.4622, allocations: 12 kB / 0.5831 GB, free: 8.363 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/0.4623, allocations: 52.56 kB / 0.5831 GB, free: 8.312 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001402/0.4637, allocations: 0.6573 MB / 0.5838 GB, free: 7.652 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00144/0.4652, allocations: 0.9892 MB / 0.5847 GB, free: 6.645 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003613/0.4655, allocations: 221.2 kB / 0.5849 GB, free: 6.426 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003766/0.4659, allocations: 318.9 kB / 0.5852 GB, free: 6.117 MB / 430.1 MB Notification: Performance of Backend: time 7.01e-07/0.4659, allocations: 0 / 0.5852 GB, free: 6.117 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002646/0.4685, allocations: 1.118 MB / 0.5863 GB, free: 4.992 MB / 430.1 MB Notification: Performance of SimCode: time 0.002622/0.4712, allocations: 1.887 MB / 0.5882 GB, free: 3.055 MB / 430.1 MB Notification: Performance of Templates: time 0.03068/0.5018, allocations: 18.89 MB / 0.6066 GB, free: 248 kB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.sim & ./Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.445946741994703] Failed to read output from testmodel.py, exit status != 0: 0.510773321002489 0.525517231 0.096556847 Calling exit ...