Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001607/0.001607, allocations: 105 kB / 16.45 MB, free: 6.512 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001557/0.001557, allocations: 198.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.493/1.493, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.1034/0.1034, allocations: 15.54 MB / 318.2 MB, free: 10.21 MB / 254.1 MB " [Timeout remaining time 180] Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG") translateModel(Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002076/0.002076, allocations: 67.89 kB / 445.4 MB, free: 13.04 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1378, allocations: 56.54 MB / 0.4902 GB, free: 4.391 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo:3019:6-3019: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 1.4.1-master/package.mo:3019:6-3019: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.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG): time 0.5357/0.6735, allocations: 23.56 MB / 0.5132 GB, free: 6.957 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007348/0.6808, allocations: 6.318 MB / 0.5194 GB, free: 3.953 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004356/0.6813, allocations: 6.344 kB / 0.5194 GB, free: 3.949 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006426/0.6819, allocations: 162.3 kB / 0.5195 GB, free: 3.863 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000804/0.6827, allocations: 255.3 kB / 0.5198 GB, free: 3.707 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003185/0.6859, allocations: 0.9655 MB / 0.5207 GB, free: 3.254 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007858/0.6867, allocations: 0.5015 MB / 0.5212 GB, free: 3.121 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003244/0.687, allocations: 171.1 kB / 0.5214 GB, free: 3.094 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003163/0.6873, allocations: 244.8 kB / 0.5216 GB, free: 3.051 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004365/0.6878, allocations: 272.4 kB / 0.5219 GB, free: 2.992 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.62e-05/0.6878, allocations: 28.09 kB / 0.5219 GB, free: 2.992 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002094/0.6899, allocations: 0.5608 MB / 0.5224 GB, free: 2.934 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001508/0.6901, allocations: 91.53 kB / 0.5225 GB, free: 2.918 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002247/0.6903, allocations: 202.2 kB / 0.5227 GB, free: 2.855 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002079/0.6924, allocations: 1.078 MB / 0.5238 GB, free: 2.543 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.6924, allocations: 0.6094 kB / 0.5238 GB, free: 2.543 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.6924, allocations: 4 kB / 0.5238 GB, free: 2.539 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.708e-06/0.6924, allocations: 0 / 0.5238 GB, free: 2.539 MB / 382.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.001257/0.6936, allocations: 0.8142 MB / 0.5246 GB, free: 1.953 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.6937, allocations: 8.969 kB / 0.5246 GB, free: 1.953 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000603/0.6943, allocations: 115.6 kB / 0.5247 GB, free: 1.926 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006191/0.6949, allocations: 384.8 kB / 0.5251 GB, free: 1.672 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.464e-05/0.6949, allocations: 20 kB / 0.5251 GB, free: 1.672 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.468e-05/0.695, allocations: 32.58 kB / 0.5251 GB, free: 1.668 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008387/0.6958, allocations: 447.1 kB / 0.5255 GB, free: 1.539 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.6959, allocations: 4.875 kB / 0.5255 GB, free: 1.535 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.691e-05/0.6959, allocations: 14.34 kB / 0.5256 GB, free: 1.531 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.32e-05/0.6959, allocations: 7.125 kB / 0.5256 GB, free: 1.531 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001115/0.697, allocations: 0.581 MB / 0.5261 GB, free: 1.516 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002451/0.6995, allocations: 1.752 MB / 0.5278 GB, free: 340 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000335/0.6998, allocations: 136.8 kB / 0.528 GB, free: 276 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001706/0.7, allocations: 76.78 kB / 0.528 GB, free: 244 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002897/0.7029, allocations: 1.88 MB / 0.5299 GB, free: 14.64 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.7029, allocations: 36.03 kB / 0.5299 GB, free: 14.6 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.563e-06/0.7029, allocations: 0 / 0.5299 GB, free: 14.6 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004848/0.7034, allocations: 187.6 kB / 0.5301 GB, free: 14.51 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.156e-05/0.7035, allocations: 56.59 kB / 0.5301 GB, free: 14.45 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006283/0.7041, allocations: 433.2 kB / 0.5306 GB, free: 14.23 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.421e-05/0.7041, allocations: 26.86 kB / 0.5306 GB, free: 14.2 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002711/0.7044, allocations: 271.7 kB / 0.5308 GB, free: 13.97 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.537e-05/0.7044, allocations: 36.98 kB / 0.5309 GB, free: 13.95 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001451/0.7046, allocations: 77.27 kB / 0.5309 GB, free: 13.9 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000214/0.7048, allocations: 348.1 kB / 0.5313 GB, free: 13.57 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001588/0.7049, allocations: 69.75 kB / 0.5313 GB, free: 13.55 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000383/0.7053, allocations: 298.1 kB / 0.5316 GB, free: 13.23 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005592/0.7059, allocations: 389.2 kB / 0.532 GB, free: 12.85 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.191e-06/0.7059, allocations: 2.406 kB / 0.532 GB, free: 12.85 MB / 398.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007977/0.7067, allocations: 388.8 kB / 0.5324 GB, free: 12.68 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.01e-05/0.7067, allocations: 12.69 kB / 0.5324 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/0.7067, allocations: 12.03 kB / 0.5324 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.092e-05/0.7068, allocations: 10 kB / 0.5324 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003357/0.7071, allocations: 87.28 kB / 0.5325 GB, free: 12.67 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.43e-05/0.7071, allocations: 20.16 kB / 0.5325 GB, free: 12.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000316/0.7074, allocations: 43.2 kB / 0.5326 GB, free: 12.63 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.814e-05/0.7075, allocations: 27.94 kB / 0.5326 GB, free: 12.63 MB / 398.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.0002049/0.7077, allocations: 178.5 kB / 0.5327 GB, free: 12.47 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.155e-05/0.7078, allocations: 40.25 kB / 0.5328 GB, free: 12.45 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005724/0.7084, allocations: 235.1 kB / 0.533 GB, free: 12.28 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.7084, allocations: 0.5625 kB / 0.533 GB, free: 12.28 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.7084, allocations: 8.25 kB / 0.533 GB, free: 12.27 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.7084, allocations: 4.531 kB / 0.533 GB, free: 12.27 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007628/0.7092, allocations: 0.5256 MB / 0.5335 GB, free: 11.83 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.7092, allocations: 3.938 kB / 0.5335 GB, free: 11.83 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.377e-05/0.7092, allocations: 7.031 kB / 0.5335 GB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.7092, allocations: 3.938 kB / 0.5336 GB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.7092, allocations: 1.797 kB / 0.5336 GB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.7092, allocations: 0 / 0.5336 GB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.7092, allocations: 2.125 kB / 0.5336 GB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001605/0.7094, allocations: 119.7 kB / 0.5337 GB, free: 11.72 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001219/0.7095, allocations: 119.3 kB / 0.5338 GB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.936e-05/0.7096, allocations: 2.422 kB / 0.5338 GB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.7097, allocations: 1 kB / 0.5338 GB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.611e-05/0.7097, allocations: 1.359 kB / 0.5338 GB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.636e-06/0.7097, allocations: 0.5312 kB / 0.5338 GB, free: 11.59 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006078/0.7103, allocations: 360.9 kB / 0.5341 GB, free: 11.42 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7103, allocations: 5.375 kB / 0.5341 GB, free: 11.42 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008112/0.7111, allocations: 181.6 kB / 0.5343 GB, free: 11.37 MB / 398.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.0006708/0.7118, allocations: 303.1 kB / 0.5346 GB, free: 11.2 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000368/0.7121, allocations: 152.5 kB / 0.5347 GB, free: 11.15 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.7121, allocations: 0.5625 kB / 0.5347 GB, free: 11.15 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.158e-05/0.7122, allocations: 11.48 kB / 0.5348 GB, free: 11.15 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005895/0.7127, allocations: 93.48 kB / 0.5348 GB, free: 11.11 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/0.7138, allocations: 0.5497 MB / 0.5354 GB, free: 10.77 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004624/0.7143, allocations: 0.7797 MB / 0.5361 GB, free: 10.07 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003166/0.7146, allocations: 102.4 kB / 0.5362 GB, free: 10.04 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/0.7147, allocations: 49.44 kB / 0.5363 GB, free: 10.02 MB / 398.1 MB Notification: Performance of SimCode: time 9.41e-07/0.7147, allocations: 3.938 kB / 0.5363 GB, free: 10.02 MB / 398.1 MB Notification: Performance of Templates: time 0.01448/0.7292, allocations: 6.43 MB / 0.5426 GB, free: 7.773 MB / 398.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.makefile [Timeout 660] (rm -f Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe ; mkfifo Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe ; head -c 1048576 < Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe >> ../files/Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.sim & ./Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.626492281444371]