Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001621/0.001621, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001681/0.001681, allocations: 214 kB / 22.25 MB, free: 4.855 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.428/1.428, allocations: 230.6 MB / 256 MB, free: 7.801 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.143/0.143, allocations: 23.88 MB / 336.3 MB, free: 10.96 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.CheckSubstancesData.SimpleReaction2_Get_DfG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_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_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.002389/0.002389, allocations: 70.83 kB / 471.6 MB, free: 7.008 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3379/0.3403, allocations: 59.86 MB / 0.519 GB, free: 9.773 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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 2.0.0/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.08151/0.4218, allocations: 23.89 MB / 0.5423 GB, free: 15.55 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009579/0.4314, allocations: 5.555 MB / 0.5478 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005319/0.4319, allocations: 11.88 kB / 0.5478 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000673/0.4326, allocations: 148 kB / 0.5479 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001084/0.4337, allocations: 251.9 kB / 0.5482 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003489/0.4372, allocations: 0.9865 MB / 0.5491 GB, free: 9.324 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00109/0.4383, allocations: 0.495 MB / 0.5496 GB, free: 8.875 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004707/0.4387, allocations: 183.3 kB / 0.5498 GB, free: 8.73 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004401/0.4392, allocations: 242.9 kB / 0.55 GB, free: 8.516 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005908/0.4398, allocations: 253.2 kB / 0.5503 GB, free: 8.312 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000122/0.4399, allocations: 32 kB / 0.5503 GB, free: 8.281 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001646/0.4415, allocations: 0.5255 MB / 0.5508 GB, free: 7.809 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001986/0.4417, allocations: 92.48 kB / 0.5509 GB, free: 7.734 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002959/0.442, allocations: 172.2 kB / 0.5511 GB, free: 7.578 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002502/0.4445, allocations: 1.087 MB / 0.5521 GB, free: 6.668 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.4445, allocations: 3.938 kB / 0.5521 GB, free: 6.664 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.4445, allocations: 0 / 0.5521 GB, free: 6.664 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.953e-05/0.4446, allocations: 4 kB / 0.5521 GB, free: 6.66 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.001725/0.4463, allocations: 0.7274 MB / 0.5528 GB, free: 5.953 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.4463, allocations: 8.031 kB / 0.5528 GB, free: 5.945 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006562/0.447, allocations: 118.2 kB / 0.553 GB, free: 5.848 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007366/0.4477, allocations: 340 kB / 0.5533 GB, free: 5.535 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.547e-05/0.4478, allocations: 17.03 kB / 0.5533 GB, free: 5.516 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.496e-05/0.4478, allocations: 32.12 kB / 0.5533 GB, free: 5.484 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008218/0.4487, allocations: 443.8 kB / 0.5537 GB, free: 5.098 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.4487, allocations: 0 / 0.5537 GB, free: 5.098 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.27e-05/0.4487, allocations: 12 kB / 0.5538 GB, free: 5.086 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.4487, allocations: 4.703 kB / 0.5538 GB, free: 5.082 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001012/0.4497, allocations: 0.5848 MB / 0.5543 GB, free: 4.586 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002629/0.4524, allocations: 1.616 MB / 0.5559 GB, free: 3.035 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003246/0.4527, allocations: 132.2 kB / 0.556 GB, free: 2.91 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001688/0.4529, allocations: 76.73 kB / 0.5561 GB, free: 2.84 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002043/0.4549, allocations: 0.91 MB / 0.557 GB, free: 2.043 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.4549, allocations: 31.08 kB / 0.557 GB, free: 2.004 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.664e-06/0.4549, allocations: 0 / 0.557 GB, free: 2.004 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004566/0.4554, allocations: 186.6 kB / 0.5572 GB, free: 1.828 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.611e-05/0.4554, allocations: 55.41 kB / 0.5573 GB, free: 1.762 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005281/0.456, allocations: 400.4 kB / 0.5576 GB, free: 1.41 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.398e-05/0.456, allocations: 41.64 kB / 0.5577 GB, free: 1.363 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000234/0.4562, allocations: 267.9 kB / 0.5579 GB, free: 1.117 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.933e-05/0.4563, allocations: 35.78 kB / 0.558 GB, free: 1.086 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001288/0.4564, allocations: 79.95 kB / 0.558 GB, free: 1.008 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001809/0.4566, allocations: 346 kB / 0.5584 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001412/0.4567, allocations: 66.78 kB / 0.5584 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000325/0.457, allocations: 289.9 kB / 0.5587 GB, free: 248 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005358/0.4576, allocations: 393 kB / 0.5591 GB, free: 15.76 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/0.4576, allocations: 0 / 0.5591 GB, free: 15.76 MB / 414.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007067/0.4583, allocations: 386.4 kB / 0.5595 GB, free: 15.41 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.4583, allocations: 10.66 kB / 0.5595 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/0.4583, allocations: 12 kB / 0.5595 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.685e-05/0.4583, allocations: 8 kB / 0.5595 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002899/0.4586, allocations: 91.92 kB / 0.5596 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.261e-05/0.4587, allocations: 17.86 kB / 0.5596 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002615/0.4589, allocations: 43.67 kB / 0.5596 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.294e-05/0.459, allocations: 25.27 kB / 0.5597 GB, free: 15.23 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.0001979/0.4592, allocations: 161 kB / 0.5598 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.902e-05/0.4592, allocations: 31.77 kB / 0.5598 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004832/0.4597, allocations: 247.2 kB / 0.5601 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.4597, allocations: 7.828 kB / 0.5601 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.4597, allocations: 0 / 0.5601 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.4597, allocations: 4.453 kB / 0.5601 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006308/0.4604, allocations: 461.7 kB / 0.5605 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.4604, allocations: 0 / 0.5605 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.401e-05/0.4604, allocations: 4.859 kB / 0.5605 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.4604, allocations: 3.938 kB / 0.5605 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.4604, allocations: 5.125 kB / 0.5605 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.4604, allocations: 3.938 kB / 0.5605 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.4604, allocations: 0 / 0.5605 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000162/0.4606, allocations: 102.2 kB / 0.5606 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.754e-05/0.4606, allocations: 38.03 kB / 0.5607 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.871e-05/0.4607, allocations: 7.891 kB / 0.5607 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.038e-05/0.4608, allocations: 4.734 kB / 0.5607 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.121e-05/0.4608, allocations: 0.8438 kB / 0.5607 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.189e-06/0.4608, allocations: 8.031 kB / 0.5607 GB, free: 14.15 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004062/0.4612, allocations: 309 kB / 0.561 GB, free: 13.89 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4612, allocations: 0 / 0.561 GB, free: 13.89 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006767/0.4619, allocations: 187.6 kB / 0.5612 GB, free: 13.71 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.0006496/0.4626, allocations: 288.7 kB / 0.5615 GB, free: 13.45 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003454/0.4629, allocations: 162.4 kB / 0.5616 GB, free: 13.31 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.4629, allocations: 0 / 0.5616 GB, free: 13.31 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.709e-05/0.4629, allocations: 6.016 kB / 0.5616 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004622/0.4634, allocations: 81.42 kB / 0.5617 GB, free: 13.23 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.4644, allocations: 0.5403 MB / 0.5622 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002112/0.4646, allocations: 180.6 kB / 0.5624 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003017/0.4649, allocations: 99.11 kB / 0.5625 GB, free: 12.47 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.774e-05/0.465, allocations: 40.27 kB / 0.5625 GB, free: 12.43 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.465, allocations: 4 kB / 0.5625 GB, free: 12.43 MB / 414.1 MB Notification: Performance of Templates: time 0.01318/0.4782, allocations: 6.589 MB / 0.569 GB, free: 6.238 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.sim & ./Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.856233943253756] Failed to read output from testmodel.py, exit status != 0: 0.4888063035905361 0.504121582 0.056209609 Calling exit ...