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.0008521/0.0008521, allocations: 93.06 kB / 19.65 MB, free: 280 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.001372/0.001372, allocations: 165 kB / 23.02 MB, free: 1.551 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 0.9291/0.9291, allocations: 177.1 MB / 203.4 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] 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.08946/0.08946, allocations: 17.38 MB / 277.3 MB, free: 11.66 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.502e-06/1.502e-06, allocations: 0 / 353.4 MB, free: 9.984 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.082e-05/2.232e-05, allocations: 4.844 kB / 353.4 MB, free: 9.98 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.02989/0.02991, allocations: 26.91 MB / 380.3 MB, free: 15.21 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007228/0.03714, allocations: 6.36 MB / 386.7 MB, free: 8.824 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003699/0.03751, allocations: 11.88 kB / 386.7 MB, free: 8.812 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005258/0.03804, allocations: 146.8 kB / 386.9 MB, free: 8.668 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000797/0.03884, allocations: 269.8 kB / 387.1 MB, free: 8.402 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0025/0.04134, allocations: 1.009 MB / 388.1 MB, free: 7.387 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007577/0.04209, allocations: 0.5291 MB / 388.7 MB, free: 6.855 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003321/0.04243, allocations: 165.1 kB / 388.8 MB, free: 6.691 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003525/0.04278, allocations: 323.3 kB / 389.1 MB, free: 6.375 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003749/0.04315, allocations: 227.5 kB / 389.4 MB, free: 6.152 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.633e-05/0.04321, allocations: 31.94 kB / 389.4 MB, free: 6.121 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001322/0.04453, allocations: 0.5224 MB / 389.9 MB, free: 5.598 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001357/0.04467, allocations: 99.66 kB / 390 MB, free: 5.5 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001609/0.04483, allocations: 143.6 kB / 390.1 MB, free: 5.359 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001838/0.04667, allocations: 1.039 MB / 391.2 MB, free: 4.316 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.04667, allocations: 0 / 391.2 MB, free: 4.316 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.04667, allocations: 0 / 391.2 MB, free: 4.316 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.04668, allocations: 0 / 391.2 MB, free: 4.316 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.001098/0.04778, allocations: 0.8296 MB / 392 MB, free: 3.445 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.04782, allocations: 8.031 kB / 392 MB, free: 3.438 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005558/0.04838, allocations: 183.7 kB / 392.2 MB, free: 3.258 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004918/0.04887, allocations: 348.2 kB / 392.5 MB, free: 2.891 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.359e-05/0.04889, allocations: 25.02 kB / 392.6 MB, free: 2.867 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.335e-05/0.04895, allocations: 28.38 kB / 392.6 MB, free: 2.84 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005198/0.04946, allocations: 396.3 kB / 393 MB, free: 2.406 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.853e-05/0.04948, allocations: 7.875 kB / 393 MB, free: 2.398 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.583e-05/0.04952, allocations: 12 kB / 393 MB, free: 2.387 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.219e-05/0.04953, allocations: 4 kB / 393 MB, free: 2.383 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006386/0.05017, allocations: 418.5 kB / 393.4 MB, free: 1.969 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001843/0.05201, allocations: 2.024 MB / 395.4 MB, free: 15.86 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002348/0.05225, allocations: 106.9 kB / 395.5 MB, free: 15.74 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.577e-05/0.05234, allocations: 43.67 kB / 395.6 MB, free: 15.7 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001401/0.05374, allocations: 1.003 MB / 396.6 MB, free: 14.68 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.05377, allocations: 33.39 kB / 396.6 MB, free: 14.63 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 1.583e-06/0.05377, allocations: 0 / 396.6 MB, free: 14.63 MB / 330.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003245/0.0541, allocations: 137.4 kB / 396.8 MB, free: 14.49 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.26e-05/0.05413, allocations: 51.41 kB / 396.8 MB, free: 14.43 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003559/0.05449, allocations: 434.5 kB / 397.2 MB, free: 13.99 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.0545, allocations: 33.64 kB / 397.3 MB, free: 13.95 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004039/0.05491, allocations: 326.3 kB / 397.6 MB, free: 13.62 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.883e-05/0.05493, allocations: 35.73 kB / 397.6 MB, free: 13.59 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.05503, allocations: 83.27 kB / 397.7 MB, free: 13.5 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.05519, allocations: 0.5275 MB / 398.2 MB, free: 12.96 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.941e-05/0.05527, allocations: 31.97 kB / 398.3 MB, free: 12.93 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002345/0.0555, allocations: 345 kB / 398.6 MB, free: 12.45 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003539/0.05586, allocations: 416.6 kB / 399 MB, free: 11.89 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/0.05586, allocations: 4 kB / 399 MB, free: 11.89 MB / 330.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004756/0.05634, allocations: 329 kB / 399.3 MB, free: 11.56 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.05636, allocations: 8 kB / 399.3 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.05637, allocations: 8 kB / 399.3 MB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.469e-05/0.05639, allocations: 8 kB / 399.3 MB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002166/0.05661, allocations: 92.52 kB / 399.4 MB, free: 11.45 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.414e-05/0.05663, allocations: 12 kB / 399.4 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001864/0.05681, allocations: 47.73 kB / 399.5 MB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.756e-05/0.05685, allocations: 24 kB / 399.5 MB, free: 11.36 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.0001194/0.05697, allocations: 192.2 kB / 399.7 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.75e-05/0.05703, allocations: 43.7 kB / 399.7 MB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003753/0.0574, allocations: 253.8 kB / 400 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.0574, allocations: 0 / 400 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.05741, allocations: 0 / 400 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.05741, allocations: 0 / 400 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004321/0.05784, allocations: 0.5431 MB / 400.5 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.05784, allocations: 0 / 400.5 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.386e-05/0.05786, allocations: 0 / 400.5 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.05786, allocations: 4 kB / 400.5 MB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.6e-06/0.05787, allocations: 0 / 400.5 MB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.05787, allocations: 0 / 400.5 MB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.05787, allocations: 64 / 400.5 MB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.9e-05/0.05797, allocations: 116.1 kB / 400.7 MB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.919e-05/0.05801, allocations: 23.81 kB / 400.7 MB, free: 10.08 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.498e-05/0.05805, allocations: 3.953 kB / 400.7 MB, free: 10.08 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.631e-05/0.0581, allocations: 7.984 kB / 400.7 MB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.749e-05/0.05812, allocations: 4.047 kB / 400.7 MB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.05812, allocations: 7.922 kB / 400.7 MB, free: 10.06 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002549/0.05838, allocations: 303 kB / 401 MB, free: 9.762 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05838, allocations: 0 / 401 MB, free: 9.762 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005592/0.05894, allocations: 187.3 kB / 401.2 MB, free: 9.578 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.0004586/0.0594, allocations: 306.6 kB / 401.5 MB, free: 9.266 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002379/0.05963, allocations: 125.6 kB / 401.6 MB, free: 9.141 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.05964, allocations: 0 / 401.6 MB, free: 9.141 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.899e-06/0.05965, allocations: 16.06 kB / 401.6 MB, free: 9.121 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000395/0.06004, allocations: 104.1 kB / 401.7 MB, free: 9.027 MB / 330.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00126/0.0613, allocations: 0.5258 MB / 402.2 MB, free: 8.473 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.021e-05/0.06136, allocations: 96.55 kB / 402.3 MB, free: 8.359 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002225/0.06158, allocations: 98.39 kB / 402.4 MB, free: 8.266 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.577e-05/0.06166, allocations: 40.48 kB / 402.5 MB, free: 8.227 MB / 330.7 MB Notification: Performance of SimCode: time 8.51e-07/0.06166, allocations: 0 / 402.5 MB, free: 8.227 MB / 330.7 MB Notification: Performance of Templates: time 0.01001/0.07167, allocations: 6.167 MB / 408.6 MB, free: 2.125 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: 3.1401811740361154]