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.001652/0.001652, allocations: 121.5 kB / 17.14 MB, free: 5.988 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.001741/0.001741, allocations: 212.8 kB / 20.1 MB, free: 3.047 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.484/1.484, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.1459/0.1459, allocations: 23.86 MB / 333.4 MB, free: 1.223 MB / 254.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.002008/0.002008, allocations: 64.78 kB / 467.2 MB, free: 30.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1176, allocations: 59.82 MB / 0.5146 GB, free: 12.48 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.0511/0.1687, allocations: 23.72 MB / 0.5378 GB, free: 4.816 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008576/0.1773, allocations: 6.351 MB / 0.544 GB, free: 14.44 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004295/0.1777, allocations: 19.88 kB / 0.544 GB, free: 14.42 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005827/0.1783, allocations: 154.8 kB / 0.5442 GB, free: 14.27 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007839/0.1791, allocations: 261.9 kB / 0.5444 GB, free: 14.01 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002784/0.1818, allocations: 0.9588 MB / 0.5453 GB, free: 13.05 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007863/0.1826, allocations: 0.5098 MB / 0.5458 GB, free: 12.53 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003069/0.1829, allocations: 172.8 kB / 0.546 GB, free: 12.36 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002941/0.1832, allocations: 247.3 kB / 0.5462 GB, free: 12.11 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003986/0.1836, allocations: 263 kB / 0.5465 GB, free: 11.86 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.684e-05/0.1837, allocations: 28 kB / 0.5465 GB, free: 11.83 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001586/0.1853, allocations: 0.5655 MB / 0.5471 GB, free: 11.26 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001308/0.1854, allocations: 95.67 kB / 0.5472 GB, free: 11.17 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002161/0.1856, allocations: 206.9 kB / 0.5474 GB, free: 10.96 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001759/0.1874, allocations: 1.089 MB / 0.5484 GB, free: 9.871 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1874, allocations: 0 / 0.5484 GB, free: 9.871 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1874, allocations: 4 kB / 0.5484 GB, free: 9.867 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.757e-06/0.1874, allocations: 0 / 0.5484 GB, free: 9.867 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001317/0.1887, allocations: 0.8091 MB / 0.5492 GB, free: 9.008 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.1888, allocations: 16.03 kB / 0.5492 GB, free: 8.992 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000579/0.1893, allocations: 116.3 kB / 0.5493 GB, free: 8.879 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005875/0.1899, allocations: 392 kB / 0.5497 GB, free: 8.461 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.352e-05/0.1899, allocations: 20.94 kB / 0.5497 GB, free: 8.441 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.782e-05/0.19, allocations: 32.12 kB / 0.5498 GB, free: 8.41 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007769/0.1908, allocations: 438.1 kB / 0.5502 GB, free: 7.945 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.1908, allocations: 4 kB / 0.5502 GB, free: 7.941 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.437e-05/0.1909, allocations: 16 kB / 0.5502 GB, free: 7.926 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.86e-05/0.1909, allocations: 8 kB / 0.5502 GB, free: 7.918 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000982/0.1919, allocations: 0.5833 MB / 0.5508 GB, free: 7.332 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002535/0.1944, allocations: 1.761 MB / 0.5525 GB, free: 5.484 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003488/0.1947, allocations: 134.5 kB / 0.5526 GB, free: 5.344 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001547/0.1949, allocations: 72.83 kB / 0.5527 GB, free: 5.27 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002629/0.1975, allocations: 1.876 MB / 0.5545 GB, free: 3.145 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.527e-05/0.1976, allocations: 38.56 kB / 0.5546 GB, free: 3.098 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.714e-06/0.1976, allocations: 0 / 0.5546 GB, free: 3.098 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004619/0.198, allocations: 189.2 kB / 0.5547 GB, free: 2.906 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.092e-05/0.1981, allocations: 55.53 kB / 0.5548 GB, free: 2.84 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005368/0.1986, allocations: 441.8 kB / 0.5552 GB, free: 2.391 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.493e-05/0.1986, allocations: 25.7 kB / 0.5552 GB, free: 2.359 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002157/0.1989, allocations: 259.7 kB / 0.5555 GB, free: 2.102 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.027e-05/0.1989, allocations: 39.69 kB / 0.5555 GB, free: 2.062 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000127/0.199, allocations: 81.64 kB / 0.5556 GB, free: 1.977 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.1992, allocations: 350.8 kB / 0.5559 GB, free: 1.625 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001388/0.1993, allocations: 67.95 kB / 0.556 GB, free: 1.559 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003164/0.1997, allocations: 289.6 kB / 0.5563 GB, free: 1.168 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004755/0.2001, allocations: 389.5 kB / 0.5567 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.2001, allocations: 0 / 0.5567 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006216/0.2008, allocations: 397 kB / 0.557 GB, free: 292 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.2008, allocations: 10.97 kB / 0.557 GB, free: 284 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.2008, allocations: 8 kB / 0.5571 GB, free: 276 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.488e-05/0.2008, allocations: 12 kB / 0.5571 GB, free: 264 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002808/0.2011, allocations: 87.89 kB / 0.5571 GB, free: 176 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.762e-05/0.2011, allocations: 16.44 kB / 0.5572 GB, free: 160 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002559/0.2014, allocations: 51.67 kB / 0.5572 GB, free: 108 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.943e-05/0.2014, allocations: 27.98 kB / 0.5572 GB, free: 80 kB / 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.0001926/0.2016, allocations: 162.5 kB / 0.5574 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.905e-05/0.2017, allocations: 47.7 kB / 0.5574 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004606/0.2021, allocations: 243.1 kB / 0.5577 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.2021, allocations: 0 / 0.5577 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.2022, allocations: 3.938 kB / 0.5577 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.2022, allocations: 0 / 0.5577 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005712/0.2027, allocations: 0.5337 MB / 0.5582 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2027, allocations: 0 / 0.5582 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.39e-05/0.2028, allocations: 4 kB / 0.5582 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.2028, allocations: 3.938 kB / 0.5582 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.2028, allocations: 4.062 kB / 0.5582 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.2028, allocations: 0 / 0.5582 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2028, allocations: 0 / 0.5582 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001386/0.2029, allocations: 108.8 kB / 0.5583 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001151/0.203, allocations: 125.1 kB / 0.5584 GB, free: 14.72 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.804e-05/0.2031, allocations: 0 / 0.5584 GB, free: 14.72 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.2032, allocations: 8 kB / 0.5584 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.661e-05/0.2032, allocations: 4.031 kB / 0.5584 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-06/0.2032, allocations: 11.92 kB / 0.5585 GB, free: 14.7 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004198/0.2036, allocations: 358.9 kB / 0.5588 GB, free: 14.35 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2036, allocations: 0 / 0.5588 GB, free: 14.35 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006163/0.2042, allocations: 175.4 kB / 0.559 GB, free: 14.18 MB / 430.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.0005247/0.2048, allocations: 298.5 kB / 0.5593 GB, free: 13.88 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000317/0.2051, allocations: 156.4 kB / 0.5594 GB, free: 13.72 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.2051, allocations: 0 / 0.5594 GB, free: 13.72 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.556e-05/0.2051, allocations: 11.94 kB / 0.5594 GB, free: 13.71 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005224/0.2056, allocations: 90.09 kB / 0.5595 GB, free: 13.62 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009841/0.2066, allocations: 0.5783 MB / 0.5601 GB, free: 13.01 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004043/0.207, allocations: 0.7834 MB / 0.5608 GB, free: 12.2 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001426/0.2071, allocations: 63.41 kB / 0.5609 GB, free: 12.14 MB / 430.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2071, allocations: 0 / 0.5609 GB, free: 12.14 MB / 430.1 MB Notification: Performance of Templates: time 0.01012/0.2173, allocations: 6.292 MB / 0.567 GB, free: 5.871 MB / 430.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: 8.018907782010501] Failed to read output from testmodel.py, exit status != 0: 0.225142802024493 0.237826273 0.047643964000000004 Calling exit ...