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.00166/0.00166, allocations: 104.3 kB / 19.7 MB, free: 2.008 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.001945/0.001945, allocations: 212.5 kB / 22.99 MB, free: 4.41 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.47/1.47, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.1427/0.1427, 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.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.002067/0.002067, allocations: 67.91 kB / 472.4 MB, free: 6.973 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3405/0.3426, allocations: 59.87 MB / 0.5198 GB, free: 9.738 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.07018/0.4128, allocations: 23.81 MB / 0.5431 GB, free: 15.58 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008418/0.4212, allocations: 5.57 MB / 0.5485 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000472/0.4216, allocations: 11.88 kB / 0.5485 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000625/0.4223, allocations: 141.2 kB / 0.5487 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009548/0.4232, allocations: 251.1 kB / 0.5489 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002797/0.426, allocations: 0.9895 MB / 0.5499 GB, free: 9.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007785/0.4268, allocations: 0.5112 MB / 0.5504 GB, free: 8.875 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003143/0.4271, allocations: 171.2 kB / 0.5505 GB, free: 8.742 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002866/0.4274, allocations: 242.9 kB / 0.5508 GB, free: 8.527 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004024/0.4278, allocations: 270.7 kB / 0.551 GB, free: 8.309 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.342e-05/0.4279, allocations: 28 kB / 0.551 GB, free: 8.281 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001288/0.4292, allocations: 0.5403 MB / 0.5516 GB, free: 7.793 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001205/0.4293, allocations: 96.61 kB / 0.5517 GB, free: 7.715 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001832/0.4295, allocations: 167.4 kB / 0.5518 GB, free: 7.562 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001627/0.4311, allocations: 1.093 MB / 0.5529 GB, free: 6.648 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.4311, allocations: 0 / 0.5529 GB, free: 6.648 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4311, allocations: 0 / 0.5529 GB, free: 6.648 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.105e-06/0.4311, allocations: 0 / 0.5529 GB, free: 6.648 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.001185/0.4323, allocations: 0.7256 MB / 0.5536 GB, free: 5.941 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.4323, allocations: 8.031 kB / 0.5536 GB, free: 5.934 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005451/0.4329, allocations: 114.5 kB / 0.5537 GB, free: 5.84 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006106/0.4335, allocations: 336.1 kB / 0.554 GB, free: 5.531 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.311e-05/0.4335, allocations: 21.03 kB / 0.5541 GB, free: 5.508 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.649e-05/0.4336, allocations: 28.12 kB / 0.5541 GB, free: 5.48 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007044/0.4343, allocations: 444.2 kB / 0.5545 GB, free: 5.094 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.4343, allocations: 4 kB / 0.5545 GB, free: 5.09 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.056e-05/0.4343, allocations: 12 kB / 0.5545 GB, free: 5.078 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.413e-05/0.4344, allocations: 11.94 kB / 0.5545 GB, free: 5.066 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000921/0.4353, allocations: 0.573 MB / 0.5551 GB, free: 4.582 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002329/0.4376, allocations: 1.62 MB / 0.5567 GB, free: 3.027 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003088/0.4379, allocations: 136.2 kB / 0.5568 GB, free: 2.898 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001491/0.4381, allocations: 80.78 kB / 0.5569 GB, free: 2.824 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001937/0.44, allocations: 0.906 MB / 0.5578 GB, free: 2.031 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/0.44, allocations: 35.27 kB / 0.5578 GB, free: 1.988 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.502e-06/0.44, allocations: 0 / 0.5578 GB, free: 1.988 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004088/0.4404, allocations: 190.1 kB / 0.558 GB, free: 1.809 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.401e-05/0.4405, allocations: 52.16 kB / 0.558 GB, free: 1.746 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004707/0.4409, allocations: 404.2 kB / 0.5584 GB, free: 1.391 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.609e-05/0.441, allocations: 29.7 kB / 0.5584 GB, free: 1.355 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002086/0.4412, allocations: 268.2 kB / 0.5587 GB, free: 1.109 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.171e-05/0.4412, allocations: 43.67 kB / 0.5587 GB, free: 1.07 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.4413, allocations: 79.8 kB / 0.5588 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.4415, allocations: 346.2 kB / 0.5591 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/0.4416, allocations: 74.3 kB / 0.5592 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002913/0.4419, allocations: 282.3 kB / 0.5595 GB, free: 232 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004777/0.4424, allocations: 388.3 kB / 0.5599 GB, free: 15.75 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.4424, allocations: 4 kB / 0.5599 GB, free: 15.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006441/0.4431, allocations: 386.3 kB / 0.5602 GB, free: 15.4 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.4431, allocations: 8 kB / 0.5602 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/0.4431, allocations: 12.5 kB / 0.5602 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/0.4431, allocations: 12 kB / 0.5603 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002818/0.4434, allocations: 91.64 kB / 0.5603 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.825e-05/0.4434, allocations: 9.781 kB / 0.5604 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002353/0.4437, allocations: 44.61 kB / 0.5604 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.643e-05/0.4437, allocations: 33.2 kB / 0.5604 GB, free: 15.21 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.0001677/0.4439, allocations: 160.7 kB / 0.5606 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.57e-05/0.4439, allocations: 35.77 kB / 0.5606 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005058/0.4444, allocations: 239.4 kB / 0.5608 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.4444, allocations: 0.7969 kB / 0.5608 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.4444, allocations: 0 / 0.5608 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.4444, allocations: 4.312 kB / 0.5609 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005498/0.445, allocations: 466.3 kB / 0.5613 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.445, allocations: 0 / 0.5613 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.429e-05/0.445, allocations: 4.516 kB / 0.5613 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.445, allocations: 3.938 kB / 0.5613 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.445, allocations: 0.7031 kB / 0.5613 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.445, allocations: 7.875 kB / 0.5613 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.445, allocations: 0 / 0.5613 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001316/0.4452, allocations: 106.2 kB / 0.5614 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.264e-05/0.4452, allocations: 29.31 kB / 0.5614 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.468e-05/0.4453, allocations: 4.906 kB / 0.5614 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.82e-05/0.4454, allocations: 8.547 kB / 0.5615 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.233e-05/0.4454, allocations: 0.5625 kB / 0.5615 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.4454, allocations: 4 kB / 0.5615 GB, free: 14.15 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003672/0.4457, allocations: 312.8 kB / 0.5618 GB, free: 13.88 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4457, allocations: 0 / 0.5618 GB, free: 13.88 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005932/0.4463, allocations: 187.8 kB / 0.5619 GB, free: 13.7 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (1): * Single equations (assignments): 1 * 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 Backend phase and start with SimCode phase: time 0.0004981/0.4468, allocations: 296.9 kB / 0.5622 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002967/0.4471, allocations: 157.3 kB / 0.5624 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.4471, allocations: 0 / 0.5624 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.592e-05/0.4472, allocations: 7.656 kB / 0.5624 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004348/0.4476, allocations: 85.34 kB / 0.5625 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009002/0.4485, allocations: 0.5729 MB / 0.563 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000184/0.4487, allocations: 179 kB / 0.5632 GB, free: 12.49 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001315/0.4488, allocations: 68.2 kB / 0.5633 GB, free: 12.43 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.4488, allocations: 0 / 0.5633 GB, free: 12.43 MB / 414.1 MB Notification: Performance of Templates: time 0.009381/0.4582, allocations: 6.087 MB / 0.5692 GB, free: 6.695 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: 8.025770983018447] Failed to read output from testmodel.py, exit status != 0: 0.46670122200157493 0.48127613799999996 0.047062604 Calling exit ...