Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.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.001316/0.001316, 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.001475/0.001475, allocations: 213.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.438/1.438, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.1307/0.1307, 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_Get_DfG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG") [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.002849/0.002849, allocations: 63.89 kB / 472.4 MB, free: 6.965 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3356/0.3384, allocations: 59.87 MB / 0.5198 GB, free: 9.781 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_Get_DfG): time 0.06988/0.4083, allocations: 23.72 MB / 0.543 GB, free: 15.62 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008818/0.4171, allocations: 5.571 MB / 0.5484 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003983/0.4175, allocations: 11.88 kB / 0.5484 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005542/0.4181, allocations: 148.1 kB / 0.5486 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007649/0.4189, allocations: 255.5 kB / 0.5488 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002819/0.4217, allocations: 0.9783 MB / 0.5498 GB, free: 9.383 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008523/0.4225, allocations: 0.5071 MB / 0.5503 GB, free: 8.922 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003517/0.4229, allocations: 175.1 kB / 0.5504 GB, free: 8.785 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003104/0.4232, allocations: 243.4 kB / 0.5507 GB, free: 8.57 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004228/0.4236, allocations: 273 kB / 0.5509 GB, free: 8.348 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.908e-05/0.4237, allocations: 32 kB / 0.551 GB, free: 8.316 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001586/0.4253, allocations: 0.5301 MB / 0.5515 GB, free: 7.84 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001438/0.4254, allocations: 104.7 kB / 0.5516 GB, free: 7.754 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002137/0.4256, allocations: 171 kB / 0.5518 GB, free: 7.598 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00167/0.4273, allocations: 1.079 MB / 0.5528 GB, free: 6.695 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.4273, allocations: 0 / 0.5528 GB, free: 6.695 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.4273, allocations: 0 / 0.5528 GB, free: 6.695 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.4273, allocations: 0 / 0.5528 GB, free: 6.695 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001264/0.4286, allocations: 0.7348 MB / 0.5535 GB, free: 5.98 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.4286, allocations: 12.53 kB / 0.5535 GB, free: 5.969 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006113/0.4292, allocations: 110.1 kB / 0.5536 GB, free: 5.879 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006641/0.4299, allocations: 340.1 kB / 0.554 GB, free: 5.566 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/0.4299, allocations: 21.03 kB / 0.554 GB, free: 5.543 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.85e-05/0.43, allocations: 32.11 kB / 0.554 GB, free: 5.512 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000795/0.4308, allocations: 444.1 kB / 0.5544 GB, free: 5.125 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.4308, allocations: 4 kB / 0.5544 GB, free: 5.121 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.317e-05/0.4308, allocations: 8 kB / 0.5545 GB, free: 5.113 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/0.4309, allocations: 8 kB / 0.5545 GB, free: 5.105 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009824/0.4318, allocations: 0.5736 MB / 0.555 GB, free: 4.621 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002587/0.4344, allocations: 1.608 MB / 0.5566 GB, free: 3.078 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003347/0.4348, allocations: 136.3 kB / 0.5567 GB, free: 2.949 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001659/0.4349, allocations: 72.92 kB / 0.5568 GB, free: 2.883 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002124/0.4371, allocations: 0.9215 MB / 0.5577 GB, free: 2.074 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.4371, allocations: 31.36 kB / 0.5577 GB, free: 2.035 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.653e-06/0.4371, allocations: 3.938 kB / 0.5577 GB, free: 2.031 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004611/0.4375, allocations: 182 kB / 0.5579 GB, free: 1.859 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.4376, allocations: 51.41 kB / 0.5579 GB, free: 1.797 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005289/0.4381, allocations: 404.8 kB / 0.5583 GB, free: 1.441 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.214e-05/0.4381, allocations: 29.7 kB / 0.5584 GB, free: 1.406 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002277/0.4384, allocations: 280.1 kB / 0.5586 GB, free: 1.148 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.648e-05/0.4384, allocations: 31.97 kB / 0.5587 GB, free: 1.121 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001247/0.4385, allocations: 83.77 kB / 0.5587 GB, free: 1.039 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000181/0.4387, allocations: 345.8 kB / 0.5591 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001409/0.4389, allocations: 70.81 kB / 0.5591 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003266/0.4392, allocations: 289.3 kB / 0.5594 GB, free: 276 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005369/0.4397, allocations: 385.1 kB / 0.5598 GB, free: 15.8 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/0.4397, allocations: 4 kB / 0.5598 GB, free: 15.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006767/0.4404, allocations: 382.4 kB / 0.5601 GB, free: 15.45 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.4404, allocations: 8 kB / 0.5602 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.4404, allocations: 12.12 kB / 0.5602 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.454e-05/0.4405, allocations: 8 kB / 0.5602 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003065/0.4408, allocations: 91.47 kB / 0.5603 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.969e-05/0.4408, allocations: 22.12 kB / 0.5603 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002535/0.441, allocations: 40.56 kB / 0.5603 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.913e-05/0.4411, allocations: 28.75 kB / 0.5603 GB, free: 15.26 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 (38): * Single equations (assignments): 38 * 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.0001916/0.4413, allocations: 164.3 kB / 0.5605 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.031e-05/0.4413, allocations: 36.42 kB / 0.5605 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004915/0.4418, allocations: 235.6 kB / 0.5608 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.4418, allocations: 4.031 kB / 0.5608 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.4418, allocations: 0 / 0.5608 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.157e-05/0.4419, allocations: 37.67 kB / 0.5608 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.063e-05/0.442, allocations: 4.516 kB / 0.5608 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.202e-05/0.4421, allocations: 0.7969 kB / 0.5608 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.667e-05/0.4421, allocations: 0.75 kB / 0.5608 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001743/0.4423, allocations: 135.9 kB / 0.5609 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002077/0.4425, allocations: 255.8 kB / 0.5612 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.489e-05/0.4425, allocations: 10.06 kB / 0.5612 GB, free: 14.38 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004015/0.4429, allocations: 309.7 kB / 0.5615 GB, free: 14.12 MB / 414.1 MB Notification: Performance of Backend: time 5.11e-07/0.4429, allocations: 0 / 0.5615 GB, free: 14.12 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001398/0.4443, allocations: 0.5387 MB / 0.562 GB, free: 13.63 MB / 414.1 MB Notification: Performance of SimCode: time 0.001522/0.4458, allocations: 1.121 MB / 0.5631 GB, free: 12.52 MB / 414.1 MB Notification: Performance of Templates: time 0.01585/0.4617, allocations: 9.226 MB / 0.5721 GB, free: 3.742 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.sim & ./Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.94227967900224] Failed to read output from testmodel.py, exit status != 0: 0.4713904509990243 0.48485888699999996 0.054434307 Calling exit ...