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.001282/0.001282, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.00143/0.00143, allocations: 166.2 kB / 22.46 MB, free: 5.359 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.482/1.482, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.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.1302/0.1302, allocations: 17.37 MB / 276.6 MB, free: 15.31 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: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 412 MB, free: 4.465 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.33e-05/4.542e-05, allocations: 6.281 kB / 412 MB, free: 4.457 MB / 334.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.03604/0.03609, allocations: 24.19 MB / 436.1 MB, free: 12.41 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00788/0.04397, allocations: 5.549 MB / 441.7 MB, free: 6.836 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003619/0.04433, allocations: 15.88 kB / 441.7 MB, free: 6.82 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005224/0.04485, allocations: 146.8 kB / 441.9 MB, free: 6.676 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007043/0.04556, allocations: 273.8 kB / 442.1 MB, free: 6.406 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002618/0.04818, allocations: 1.009 MB / 443.1 MB, free: 5.391 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007436/0.04892, allocations: 0.5175 MB / 443.7 MB, free: 4.871 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003042/0.04922, allocations: 176.9 kB / 443.8 MB, free: 4.691 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003757/0.0496, allocations: 319.4 kB / 444.1 MB, free: 4.379 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003927/0.04999, allocations: 231.4 kB / 444.4 MB, free: 4.152 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.71e-05/0.05007, allocations: 32 kB / 444.4 MB, free: 4.121 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001299/0.05137, allocations: 0.5185 MB / 444.9 MB, free: 3.602 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001479/0.05152, allocations: 99.58 kB / 445 MB, free: 3.504 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001928/0.05171, allocations: 139.7 kB / 445.1 MB, free: 3.367 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00179/0.0535, allocations: 1.152 MB / 446.3 MB, free: 2.211 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.0535, allocations: 0 / 446.3 MB, free: 2.211 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.05351, allocations: 0 / 446.3 MB, free: 2.211 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.05351, allocations: 0 / 446.3 MB, free: 2.211 MB / 366.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.001204/0.05472, allocations: 0.7339 MB / 447 MB, free: 1.445 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.05475, allocations: 8.031 kB / 447 MB, free: 1.438 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005559/0.05531, allocations: 116.6 kB / 447.2 MB, free: 1.324 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005688/0.05588, allocations: 333.4 kB / 447.5 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.744e-05/0.05591, allocations: 21.03 kB / 447.5 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.583e-05/0.05596, allocations: 24.38 kB / 447.5 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000706/0.05667, allocations: 444 kB / 448 MB, free: 468 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.05668, allocations: 3.938 kB / 448 MB, free: 464 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.385e-05/0.05673, allocations: 12 kB / 448 MB, free: 452 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/0.05674, allocations: 8 kB / 448 MB, free: 444 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2001/0.2569, allocations: 0.5704 MB / 448.5 MB, free: 44.21 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002145/0.259, allocations: 1.607 MB / 450.2 MB, free: 43.26 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002933/0.2593, allocations: 130.4 kB / 450.3 MB, free: 43.2 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001351/0.2594, allocations: 80.09 kB / 450.4 MB, free: 43.17 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001737/0.2612, allocations: 0.9153 MB / 451.3 MB, free: 42.77 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.765e-05/0.2612, allocations: 36.41 kB / 451.3 MB, free: 42.73 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.342e-06/0.2612, allocations: 5.312 kB / 451.3 MB, free: 42.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.000405/0.2616, allocations: 179.7 kB / 451.5 MB, free: 42.64 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.173e-05/0.2616, allocations: 56.41 kB / 451.5 MB, free: 42.57 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004517/0.2621, allocations: 397.4 kB / 451.9 MB, free: 42.38 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.2621, allocations: 31.05 kB / 452 MB, free: 42.35 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001359/0.2622, allocations: 268.6 kB / 452.2 MB, free: 42.14 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.74e-05/0.2623, allocations: 44.38 kB / 452.3 MB, free: 42.12 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/0.2624, allocations: 77.7 kB / 452.3 MB, free: 42.07 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.81e-05/0.2625, allocations: 341.9 kB / 452.7 MB, free: 41.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/0.2626, allocations: 72.64 kB / 452.8 MB, free: 41.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002089/0.2628, allocations: 284.1 kB / 453 MB, free: 41.42 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003658/0.2632, allocations: 393.2 kB / 453.4 MB, free: 41.06 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.2632, allocations: 6.281 kB / 453.4 MB, free: 41.06 MB / 366.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005828/0.2637, allocations: 384.1 kB / 453.8 MB, free: 40.9 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.2638, allocations: 8.969 kB / 453.8 MB, free: 40.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.2638, allocations: 7.875 kB / 453.8 MB, free: 40.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.71e-05/0.2638, allocations: 10.62 kB / 453.8 MB, free: 40.9 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00028/0.2641, allocations: 90.8 kB / 453.9 MB, free: 40.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.995e-05/0.2641, allocations: 18.27 kB / 453.9 MB, free: 40.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002424/0.2643, allocations: 42.23 kB / 454 MB, free: 40.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.332e-05/0.2644, allocations: 29.3 kB / 454 MB, free: 40.86 MB / 366.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.0001392/0.2645, allocations: 168.3 kB / 454.2 MB, free: 40.72 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.252e-05/0.2646, allocations: 34.17 kB / 454.2 MB, free: 40.7 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004251/0.265, allocations: 234.4 kB / 454.4 MB, free: 40.56 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.265, allocations: 1.062 kB / 454.4 MB, free: 40.56 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.265, allocations: 0 / 454.4 MB, free: 40.56 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.265, allocations: 0 / 454.4 MB, free: 40.56 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004315/0.2655, allocations: 465.6 kB / 454.9 MB, free: 40.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.2655, allocations: 4.156 kB / 454.9 MB, free: 40.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.284e-05/0.2655, allocations: 2.547 kB / 454.9 MB, free: 40.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.2655, allocations: 1.125 kB / 454.9 MB, free: 40.19 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.2655, allocations: 0.75 kB / 454.9 MB, free: 40.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.2655, allocations: 1.406 kB / 454.9 MB, free: 40.19 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.2655, allocations: 1.125 kB / 454.9 MB, free: 40.19 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001103/0.2656, allocations: 105.6 kB / 455 MB, free: 40.1 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.584e-05/0.2657, allocations: 35.53 kB / 455 MB, free: 40.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.985e-05/0.2657, allocations: 5.188 kB / 455 MB, free: 40.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.35e-05/0.2658, allocations: 0.7969 kB / 455 MB, free: 40.07 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.439e-05/0.2658, allocations: 0.9062 kB / 455 MB, free: 40.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-06/0.2658, allocations: 1.75 kB / 455 MB, free: 40.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003177/0.2661, allocations: 308.7 kB / 455.3 MB, free: 39.92 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2661, allocations: 2.188 kB / 455.3 MB, free: 39.92 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006213/0.2668, allocations: 188.8 kB / 455.5 MB, free: 39.9 MB / 366.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.0005512/0.2673, allocations: 314.5 kB / 455.8 MB, free: 39.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003303/0.2676, allocations: 156.6 kB / 456 MB, free: 39.72 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2676, allocations: 0 / 456 MB, free: 39.72 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.478e-05/0.2677, allocations: 7.656 kB / 456 MB, free: 39.72 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004633/0.2681, allocations: 78.91 kB / 456.1 MB, free: 39.7 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008555/0.269, allocations: 0.5048 MB / 456.6 MB, free: 39.39 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001874/0.2692, allocations: 182.3 kB / 456.8 MB, free: 39.3 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002756/0.2694, allocations: 103.3 kB / 456.9 MB, free: 39.3 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.918e-05/0.2695, allocations: 44.14 kB / 456.9 MB, free: 39.29 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2695, allocations: 0 / 456.9 MB, free: 39.29 MB / 366.1 MB Notification: Performance of Templates: time 0.01569/0.2852, allocations: 6.116 MB / 463 MB, free: 38.57 MB / 366.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.849927395582199] Failed to read output from testmodel.py, exit status != 0: 0.2939669117331505 0.30906774099999995 0.25340232199999996 Calling exit ...