Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.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.001871/0.001871, 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.002296/0.002296, allocations: 212.9 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.476/1.476, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1351/0.1351, 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.CheckSubstancesData.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.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.00205/0.00205, allocations: 63.91 kB / 472.4 MB, free: 6.965 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3057/0.3077, allocations: 59.87 MB / 0.5198 GB, free: 9.766 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:12638:6-12638:65: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:12638:6-12638:65: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.CheckSubstancesData.SimpleReaction2): time 0.06879/0.3765, allocations: 24 MB / 0.5433 GB, free: 15.38 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01125/0.3878, allocations: 8.07 MB / 0.5512 GB, free: 8.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005965/0.3884, allocations: 11.88 kB / 0.5512 GB, free: 8.008 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007599/0.3891, allocations: 203.9 kB / 0.5514 GB, free: 7.852 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001113/0.3902, allocations: 359.1 kB / 0.5517 GB, free: 7.551 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004959/0.3952, allocations: 1.444 MB / 0.5531 GB, free: 6.332 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00111/0.3963, allocations: 0.669 MB / 0.5538 GB, free: 5.723 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003236/0.3966, allocations: 189.1 kB / 0.5539 GB, free: 5.578 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003765/0.397, allocations: 331.1 kB / 0.5543 GB, free: 5.285 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005014/0.3975, allocations: 353.7 kB / 0.5546 GB, free: 4.996 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.235e-05/0.3976, allocations: 40 kB / 0.5546 GB, free: 4.957 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001957/0.3995, allocations: 0.7977 MB / 0.5554 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00018/0.3997, allocations: 124 kB / 0.5555 GB, free: 4.137 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000263/0.4, allocations: 219.7 kB / 0.5557 GB, free: 3.938 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002506/0.4025, allocations: 1.52 MB / 0.5572 GB, free: 2.656 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.4025, allocations: 0.7031 kB / 0.5572 GB, free: 2.656 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4025, allocations: 0 / 0.5572 GB, free: 2.656 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.777e-06/0.4025, allocations: 0 / 0.5572 GB, free: 2.656 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001536/0.404, allocations: 0.8906 MB / 0.5581 GB, free: 1.797 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.4041, allocations: 8.031 kB / 0.5581 GB, free: 1.789 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008485/0.4049, allocations: 162.5 kB / 0.5583 GB, free: 1.656 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007615/0.4057, allocations: 394.7 kB / 0.5586 GB, free: 1.301 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.615e-05/0.4057, allocations: 29.03 kB / 0.5587 GB, free: 1.273 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.295e-05/0.4058, allocations: 28.12 kB / 0.5587 GB, free: 1.246 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000946/0.4067, allocations: 0.5338 MB / 0.5592 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.4068, allocations: 0 / 0.5592 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.252e-05/0.4068, allocations: 12 kB / 0.5592 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.203e-05/0.4068, allocations: 8 kB / 0.5592 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001279/0.4081, allocations: 0.7909 MB / 0.56 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002732/0.4108, allocations: 1.734 MB / 0.5617 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004529/0.4113, allocations: 205.6 kB / 0.5619 GB, free: 14.28 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002489/0.4115, allocations: 126.7 kB / 0.562 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002962/0.4145, allocations: 1.279 MB / 0.5633 GB, free: 13.07 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.4145, allocations: 35.27 kB / 0.5633 GB, free: 13.02 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 2.414e-06/0.4145, allocations: 0 / 0.5633 GB, free: 13.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006586/0.4152, allocations: 289.5 kB / 0.5636 GB, free: 12.76 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.674e-05/0.4152, allocations: 55.41 kB / 0.5636 GB, free: 12.7 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005316/0.4158, allocations: 453.4 kB / 0.5641 GB, free: 12.3 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.761e-05/0.4158, allocations: 34.5 kB / 0.5641 GB, free: 12.26 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002315/0.416, allocations: 305.9 kB / 0.5644 GB, free: 11.96 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.34e-05/0.4161, allocations: 67.41 kB / 0.5644 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001383/0.4162, allocations: 98.08 kB / 0.5645 GB, free: 11.79 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.4164, allocations: 354.7 kB / 0.5649 GB, free: 11.44 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001706/0.4166, allocations: 88.81 kB / 0.565 GB, free: 11.35 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003875/0.4169, allocations: 365.1 kB / 0.5653 GB, free: 10.87 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006441/0.4176, allocations: 0.4964 MB / 0.5658 GB, free: 10.24 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.4176, allocations: 0 / 0.5658 GB, free: 10.24 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000799/0.4184, allocations: 481.5 kB / 0.5663 GB, free: 9.762 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.4184, allocations: 8.188 kB / 0.5663 GB, free: 9.754 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.516e-05/0.4184, allocations: 12 kB / 0.5663 GB, free: 9.742 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.822e-05/0.4185, allocations: 15.94 kB / 0.5663 GB, free: 9.727 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003423/0.4188, allocations: 119.8 kB / 0.5664 GB, free: 9.609 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.888e-05/0.4188, allocations: 15.94 kB / 0.5664 GB, free: 9.594 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002723/0.4191, allocations: 55.61 kB / 0.5665 GB, free: 9.539 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.585e-05/0.4191, allocations: 32 kB / 0.5665 GB, free: 9.508 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (50): * Single equations (assignments): 50 * 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.0002016/0.4193, allocations: 181.6 kB / 0.5667 GB, free: 9.32 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.912e-05/0.4194, allocations: 39.72 kB / 0.5667 GB, free: 9.281 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007411/0.4202, allocations: 399.5 kB / 0.5671 GB, free: 8.848 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.4202, allocations: 4 kB / 0.5671 GB, free: 8.844 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.4202, allocations: 0 / 0.5671 GB, free: 8.844 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.4203, allocations: 47.69 kB / 0.5671 GB, free: 8.797 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.132e-05/0.4203, allocations: 7.875 kB / 0.5671 GB, free: 8.789 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.4204, allocations: 7.938 kB / 0.5672 GB, free: 8.781 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.184e-05/0.4205, allocations: 0 / 0.5672 GB, free: 8.781 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002133/0.4207, allocations: 177 kB / 0.5673 GB, free: 8.602 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002787/0.421, allocations: 310.4 kB / 0.5676 GB, free: 8.281 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.603e-05/0.421, allocations: 23.98 kB / 0.5676 GB, free: 8.258 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000438/0.4215, allocations: 370.8 kB / 0.568 GB, free: 7.898 MB / 414.1 MB Notification: Performance of Backend: time 4.51e-07/0.4215, allocations: 4 kB / 0.568 GB, free: 7.895 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001884/0.4234, allocations: 0.7285 MB / 0.5687 GB, free: 7.16 MB / 414.1 MB Notification: Performance of SimCode: time 0.001723/0.4251, allocations: 1.238 MB / 0.5699 GB, free: 5.879 MB / 414.1 MB Notification: Performance of Templates: time 0.02114/0.4462, allocations: 12.53 MB / 0.5822 GB, free: 9.414 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.sim & ./Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.098378341004718] Failed to read output from testmodel.py, exit status != 0: 0.45495089900214225 0.470115338 0.06439411499999995 Calling exit ...