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.001845/0.001845, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.001974/0.001974, allocations: 173.2 kB / 22.76 MB, free: 1.664 MB / 18.57 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.579/1.579, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 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.1448/0.1448, allocations: 17.37 MB / 276.9 MB, free: 11.68 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 352.7 MB, free: 10.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.368e-05/3.566e-05, allocations: 2.312 kB / 352.7 MB, free: 10.32 MB / 282.7 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.04303/0.04307, allocations: 24.59 MB / 377.3 MB, free: 1.867 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01015/0.05322, allocations: 6.313 MB / 383.6 MB, free: 11.53 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003831/0.0536, allocations: 11.94 kB / 383.6 MB, free: 11.52 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005587/0.05416, allocations: 150.8 kB / 383.8 MB, free: 11.37 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008088/0.05497, allocations: 257.9 kB / 384 MB, free: 11.11 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002859/0.05783, allocations: 1.021 MB / 385 MB, free: 10.09 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008479/0.05867, allocations: 0.5213 MB / 385.6 MB, free: 9.562 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003315/0.059, allocations: 169.1 kB / 385.7 MB, free: 9.395 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004415/0.05945, allocations: 327.4 kB / 386.1 MB, free: 9.074 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004427/0.05989, allocations: 223.5 kB / 386.3 MB, free: 8.855 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.403e-05/0.05997, allocations: 28 kB / 386.3 MB, free: 8.828 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001385/0.06136, allocations: 0.5301 MB / 386.8 MB, free: 8.297 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001577/0.06152, allocations: 91.66 kB / 386.9 MB, free: 8.207 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002177/0.06173, allocations: 147.7 kB / 387.1 MB, free: 8.062 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001989/0.06372, allocations: 1.148 MB / 388.2 MB, free: 6.91 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.06373, allocations: 0 / 388.2 MB, free: 6.91 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.06373, allocations: 0 / 388.2 MB, free: 6.91 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.06374, allocations: 0 / 388.2 MB, free: 6.91 MB / 314.7 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.001621/0.06536, allocations: 0.8491 MB / 389.1 MB, free: 6.02 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.0654, allocations: 12.03 kB / 389.1 MB, free: 6.008 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006881/0.06609, allocations: 183.7 kB / 389.2 MB, free: 5.828 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006704/0.06676, allocations: 344.3 kB / 389.6 MB, free: 5.465 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.159e-05/0.06679, allocations: 21.03 kB / 389.6 MB, free: 5.445 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.404e-05/0.06685, allocations: 28.31 kB / 389.6 MB, free: 5.418 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008102/0.06766, allocations: 476.2 kB / 390.1 MB, free: 4.906 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.06768, allocations: 3.938 kB / 390.1 MB, free: 4.902 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.208e-05/0.06772, allocations: 12 kB / 390.1 MB, free: 4.891 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/0.06773, allocations: 8 kB / 390.1 MB, free: 4.883 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00101/0.06874, allocations: 0.5445 MB / 390.7 MB, free: 4.332 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002993/0.07174, allocations: 2.133 MB / 392.8 MB, free: 2.117 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003596/0.0721, allocations: 142.9 kB / 392.9 MB, free: 1.965 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000181/0.07228, allocations: 71.67 kB / 393 MB, free: 1.891 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002368/0.07465, allocations: 1.03 MB / 394 MB, free: 0.8398 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.237e-05/0.07469, allocations: 45.33 kB / 394.1 MB, free: 0.7852 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 1.213e-06/0.07469, allocations: 0 / 394.1 MB, free: 0.7852 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004275/0.07512, allocations: 169.4 kB / 394.2 MB, free: 0.6133 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.901e-05/0.07517, allocations: 55.41 kB / 394.3 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005962/0.07576, allocations: 0.4985 MB / 394.8 MB, free: 32 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.642e-05/0.07581, allocations: 29.69 kB / 394.8 MB, free: 16 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002797/0.07609, allocations: 338.4 kB / 395.2 MB, free: 15.66 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.681e-05/0.07613, allocations: 43.67 kB / 395.2 MB, free: 15.62 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001418/0.07628, allocations: 91.3 kB / 395.3 MB, free: 15.52 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000415/0.07669, allocations: 0.5354 MB / 395.8 MB, free: 14.97 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.07682, allocations: 59.95 kB / 395.9 MB, free: 14.91 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004575/0.07728, allocations: 377 kB / 396.3 MB, free: 14.4 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006306/0.07791, allocations: 472.6 kB / 396.7 MB, free: 13.79 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/0.07792, allocations: 4 kB / 396.7 MB, free: 13.79 MB / 330.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006779/0.07859, allocations: 381.6 kB / 397.1 MB, free: 13.41 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/0.07862, allocations: 8 kB / 397.1 MB, free: 13.4 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.07863, allocations: 8 kB / 397.1 MB, free: 13.39 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/0.07865, allocations: 12.03 kB / 397.1 MB, free: 13.38 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002867/0.07894, allocations: 91.83 kB / 397.2 MB, free: 13.29 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.839e-05/0.07896, allocations: 15.94 kB / 397.2 MB, free: 13.27 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002463/0.0792, allocations: 43.66 kB / 397.3 MB, free: 13.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.359e-05/0.07926, allocations: 28 kB / 397.3 MB, free: 13.2 MB / 330.7 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.0002033/0.07946, allocations: 204.4 kB / 397.5 MB, free: 12.99 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.976e-05/0.07953, allocations: 35.75 kB / 397.5 MB, free: 12.96 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005258/0.08005, allocations: 273.6 kB / 397.8 MB, free: 12.65 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.08006, allocations: 0 / 397.8 MB, free: 12.65 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.08006, allocations: 3.938 kB / 397.8 MB, free: 12.65 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.08006, allocations: 4 kB / 397.8 MB, free: 12.64 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006943/0.08076, allocations: 0.5899 MB / 398.4 MB, free: 12.01 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.08076, allocations: 0 / 398.4 MB, free: 12.01 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.088e-05/0.08078, allocations: 0 / 398.4 MB, free: 12.01 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.08078, allocations: 8.062 kB / 398.4 MB, free: 12 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.749e-06/0.08079, allocations: 0 / 398.4 MB, free: 12 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.08079, allocations: 0 / 398.4 MB, free: 12 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.08079, allocations: 0 / 398.4 MB, free: 12 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001527/0.08094, allocations: 116.1 kB / 398.5 MB, free: 11.86 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.283e-05/0.081, allocations: 27.77 kB / 398.5 MB, free: 11.84 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.253e-05/0.08105, allocations: 0 / 398.5 MB, free: 11.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.236e-05/0.08114, allocations: 3.984 kB / 398.5 MB, free: 11.83 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.006e-05/0.08116, allocations: 4 kB / 398.6 MB, free: 11.83 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.08117, allocations: 7.938 kB / 398.6 MB, free: 11.82 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004191/0.08158, allocations: 363 kB / 398.9 MB, free: 11.46 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.08158, allocations: 4.031 kB / 398.9 MB, free: 11.46 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006174/0.0822, allocations: 183.3 kB / 399.1 MB, free: 11.28 MB / 330.7 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.0005399/0.08274, allocations: 314.5 kB / 399.4 MB, free: 10.96 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003186/0.08306, allocations: 166 kB / 399.6 MB, free: 10.8 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.08306, allocations: 0 / 399.6 MB, free: 10.8 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.149e-05/0.08308, allocations: 11.69 kB / 399.6 MB, free: 10.78 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004345/0.08352, allocations: 86.05 kB / 399.7 MB, free: 10.71 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009466/0.08446, allocations: 0.5221 MB / 400.2 MB, free: 10.16 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001969/0.08466, allocations: 185 kB / 400.4 MB, free: 9.957 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002695/0.08493, allocations: 97.95 kB / 400.5 MB, free: 9.859 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.228e-05/0.08502, allocations: 40.48 kB / 400.5 MB, free: 9.82 MB / 330.7 MB Notification: Performance of SimCode: time 7.21e-07/0.08502, allocations: 4 kB / 400.5 MB, free: 9.816 MB / 330.7 MB Notification: Performance of Templates: time 0.01366/0.09868, allocations: 6.16 MB / 406.7 MB, free: 3.723 MB / 330.7 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=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.080145718064159]