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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG") translateModel(Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001918/0.001918, allocations: 192.3 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.508/1.508, allocations: 222.9 MB / 239.9 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.3181/0.3181, allocations: 15.31 MB / 305.4 MB, free: 15.3 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 63.91 kB / 369.8 MB, free: 4.273 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1391, allocations: 53.61 MB / 423.4 MB, free: 14.61 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.4502/0.5893, allocations: 22.16 MB / 445.6 MB, free: 40.32 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006007/0.5954, allocations: 6.232 MB / 451.8 MB, free: 37.12 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005214/0.5959, allocations: 17.22 kB / 451.9 MB, free: 37.12 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005551/0.5965, allocations: 136.7 kB / 452 MB, free: 37.05 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007515/0.5972, allocations: 227.7 kB / 452.2 MB, free: 36.91 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002931/0.6002, allocations: 0.8647 MB / 453.1 MB, free: 36.54 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006701/0.6009, allocations: 0.512 MB / 453.6 MB, free: 36.39 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002884/0.6012, allocations: 190.5 kB / 453.8 MB, free: 36.36 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002589/0.6014, allocations: 248.2 kB / 454 MB, free: 36.32 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003329/0.6018, allocations: 270.5 kB / 454.3 MB, free: 36.26 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.469e-05/0.6018, allocations: 28 kB / 454.3 MB, free: 36.26 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001532/0.6034, allocations: 0.5645 MB / 454.9 MB, free: 36.2 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001142/0.6035, allocations: 103.8 kB / 455 MB, free: 36.17 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001819/0.6037, allocations: 206.2 kB / 455.2 MB, free: 36.11 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001452/0.6051, allocations: 1.011 MB / 456.2 MB, free: 35.82 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.6052, allocations: 6.344 kB / 456.2 MB, free: 35.82 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.6052, allocations: 0 / 456.2 MB, free: 35.82 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.977e-06/0.6052, allocations: 0 / 456.2 MB, free: 35.82 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.001156/0.6064, allocations: 0.7911 MB / 457 MB, free: 35.26 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.541e-05/0.6064, allocations: 8.969 kB / 457 MB, free: 35.26 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000543/0.607, allocations: 115.4 kB / 457.1 MB, free: 35.23 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004802/0.6075, allocations: 378.8 kB / 457.5 MB, free: 34.98 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.6075, allocations: 16.72 kB / 457.5 MB, free: 34.98 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.179e-05/0.6075, allocations: 29.72 kB / 457.5 MB, free: 34.98 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000662/0.6082, allocations: 450.6 kB / 458 MB, free: 34.85 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.6082, allocations: 0 / 458 MB, free: 34.85 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.171e-05/0.6083, allocations: 14.14 kB / 458 MB, free: 34.85 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/0.6083, allocations: 6.062 kB / 458 MB, free: 34.85 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007899/0.6091, allocations: 0.5828 MB / 458.6 MB, free: 34.84 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001865/0.611, allocations: 1.754 MB / 460.3 MB, free: 33.75 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002496/0.6112, allocations: 138.8 kB / 460.5 MB, free: 33.72 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00012/0.6114, allocations: 84.47 kB / 460.5 MB, free: 33.71 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0017/0.6131, allocations: 1.885 MB / 462.4 MB, free: 32.14 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.778e-05/0.6131, allocations: 34.03 kB / 462.5 MB, free: 32.1 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.022e-06/0.6131, allocations: 0 / 462.5 MB, free: 32.1 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003749/0.6135, allocations: 186.1 kB / 462.6 MB, free: 32.01 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.898e-05/0.6135, allocations: 55.62 kB / 462.7 MB, free: 31.95 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000382/0.6139, allocations: 441.8 kB / 463.1 MB, free: 31.73 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.6139, allocations: 29.7 kB / 463.2 MB, free: 31.7 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001407/0.6141, allocations: 263.8 kB / 463.4 MB, free: 31.47 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.69e-05/0.6141, allocations: 33.03 kB / 463.4 MB, free: 31.45 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.33e-05/0.6142, allocations: 80.95 kB / 463.5 MB, free: 31.4 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.336e-05/0.6143, allocations: 349.4 kB / 463.9 MB, free: 31.07 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001023/0.6144, allocations: 68.95 kB / 463.9 MB, free: 31.05 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001971/0.6146, allocations: 288.9 kB / 464.2 MB, free: 30.73 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003128/0.6149, allocations: 386 kB / 464.6 MB, free: 30.36 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.6149, allocations: 3 kB / 464.6 MB, free: 30.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.000499/0.6154, allocations: 387.6 kB / 465 MB, free: 30.2 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/0.6155, allocations: 5.969 kB / 465 MB, free: 30.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.6155, allocations: 9.281 kB / 465 MB, free: 30.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.751e-05/0.6155, allocations: 9.375 kB / 465 MB, free: 30.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003151/0.6158, allocations: 89.56 kB / 465.1 MB, free: 30.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.38e-05/0.6159, allocations: 20.67 kB / 465.1 MB, free: 30.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003202/0.6162, allocations: 44.28 kB / 465.1 MB, free: 30.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.103e-05/0.6163, allocations: 33.5 kB / 465.2 MB, free: 30.14 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.0001681/0.6164, allocations: 164.6 kB / 465.3 MB, free: 29.99 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.305e-05/0.6165, allocations: 35.12 kB / 465.4 MB, free: 29.97 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005834/0.6171, allocations: 244.6 kB / 465.6 MB, free: 29.8 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.6171, allocations: 7.969 kB / 465.6 MB, free: 29.79 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/0.6172, allocations: 7.938 kB / 465.6 MB, free: 29.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.6172, allocations: 0 / 465.6 MB, free: 29.79 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000562/0.6177, allocations: 0.5297 MB / 466.2 MB, free: 29.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.6177, allocations: 0 / 466.2 MB, free: 29.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.893e-05/0.6178, allocations: 6.109 kB / 466.2 MB, free: 29.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.6178, allocations: 3.938 kB / 466.2 MB, free: 29.34 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.6178, allocations: 4.062 kB / 466.2 MB, free: 29.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.6178, allocations: 0 / 466.2 MB, free: 29.34 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.6178, allocations: 0 / 466.2 MB, free: 29.34 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001379/0.618, allocations: 110.2 kB / 466.3 MB, free: 29.24 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.258e-05/0.6181, allocations: 116.8 kB / 466.4 MB, free: 29.12 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.243e-05/0.6182, allocations: 11.12 kB / 466.4 MB, free: 29.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/0.6183, allocations: 3.125 kB / 466.4 MB, free: 29.11 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.398e-05/0.6183, allocations: 4.031 kB / 466.4 MB, free: 29.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-06/0.6183, allocations: 0 / 466.4 MB, free: 29.11 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004338/0.6188, allocations: 360.6 kB / 466.8 MB, free: 28.94 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6188, allocations: 0 / 466.8 MB, free: 28.94 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008115/0.6196, allocations: 176.3 kB / 466.9 MB, free: 28.89 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.0005569/0.6202, allocations: 286.8 kB / 467.2 MB, free: 28.74 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003612/0.6205, allocations: 171.7 kB / 467.4 MB, free: 28.68 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.6206, allocations: 1.062 kB / 467.4 MB, free: 28.68 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.852e-05/0.6206, allocations: 5.125 kB / 467.4 MB, free: 28.68 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007069/0.6213, allocations: 95.92 kB / 467.5 MB, free: 28.64 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.6224, allocations: 0.6389 MB / 468.1 MB, free: 28.22 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002549/0.6227, allocations: 0.783 MB / 468.9 MB, free: 27.52 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004803/0.6231, allocations: 100.4 kB / 469 MB, free: 27.49 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/0.6233, allocations: 52.89 kB / 469.1 MB, free: 27.47 MB / 366.1 MB Notification: Performance of SimCode: time 2.8e-07/0.6233, allocations: 0 / 469.1 MB, free: 27.47 MB / 366.1 MB Notification: Performance of Templates: time 0.01911/0.6424, allocations: 6.344 MB / 475.4 MB, free: 26.89 MB / 366.1 MB make -j1 -f Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.makefile Failed to read output from testmodel.py, exit status != 0: 0.6442994982935488 0.66335735 0.05568070299999994 Traceback (most recent call last): File "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/./testmodel.py", line 440, in resFile = "%s_res.%s" % (conf["fileName"], outputFormat if not shared.isFMPy(fmisimulator) else 'csv') File "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/shared.py", line 98, in isFMPy return 'fmpy' in fmisimulator TypeError: argument of type 'NoneType' is not iterable