Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Chemical with version 1.4.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Chemical 1.4.0-master/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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo): time 0.1319/0.1319, allocations: 15.27 MB / 30.53 MB, free: 3.199 MB / 24.77 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 194.6 kB / 35.63 MB, free: 2.25 MB / 24.77 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.481/1.481, allocations: 225.7 MB / 266.3 MB, free: 6.164 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009266/0.0009266, allocations: 99.22 kB / 321.7 MB, free: 2.184 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003777/0.0003783, allocations: 7.625 kB / 387 MB, free: 50.65 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09963/0.1, allocations: 54.64 MB / 441.7 MB, free: 14.85 MB / 314.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:3011:6-3011:65:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:3011:6-3011: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.02369/0.1238, allocations: 19.18 MB / 460.9 MB, free: 11.61 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.008274/0.1321, allocations: 7.891 MB / 468.7 MB, free: 3.219 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005324/0.1327, allocations: 15.88 kB / 468.8 MB, free: 3.203 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004885/0.1331, allocations: 139.1 kB / 468.9 MB, free: 3.066 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006561/0.1338, allocations: 222.6 kB / 469.1 MB, free: 2.848 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002457/0.1363, allocations: 0.8428 MB / 470 MB, free: 2 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006406/0.1369, allocations: 0.5059 MB / 470.5 MB, free: 1.492 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002794/0.1372, allocations: 164.9 kB / 470.6 MB, free: 1.324 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003261/0.1376, allocations: 215.2 kB / 470.8 MB, free: 1.113 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004334/0.138, allocations: 247.1 kB / 471.1 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.564e-05/0.1381, allocations: 20 kB / 471.1 MB, free: 0.8516 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001504/0.1396, allocations: 0.5264 MB / 471.6 MB, free: 332 kB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001298/0.1397, allocations: 87.61 kB / 471.7 MB, free: 244 kB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002187/0.14, allocations: 208.7 kB / 471.9 MB, free: 28 kB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001477/0.1414, allocations: 0.9806 MB / 472.9 MB, free: 15.04 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1415, allocations: 0 / 472.9 MB, free: 15.04 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1415, allocations: 0 / 472.9 MB, free: 15.04 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.261e-06/0.1415, allocations: 0 / 472.9 MB, free: 15.04 MB / 346.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.001036/0.1425, allocations: 0.7013 MB / 473.6 MB, free: 14.29 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.1426, allocations: 9.156 kB / 473.6 MB, free: 14.29 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004942/0.1431, allocations: 112.3 kB / 473.7 MB, free: 14.18 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004871/0.1436, allocations: 367.8 kB / 474.1 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.479e-05/0.1436, allocations: 20.94 kB / 474.1 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.459e-05/0.1437, allocations: 28.12 kB / 474.1 MB, free: 13.73 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006387/0.1443, allocations: 446 kB / 474.6 MB, free: 13.25 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.1443, allocations: 3.984 kB / 474.6 MB, free: 13.25 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.925e-05/0.1444, allocations: 15.98 kB / 474.6 MB, free: 13.23 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.1444, allocations: 4 kB / 474.6 MB, free: 13.23 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000786/0.1452, allocations: 0.5833 MB / 475.2 MB, free: 12.65 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002069/0.1473, allocations: 1.733 MB / 476.9 MB, free: 10.83 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002702/0.1476, allocations: 146.5 kB / 477 MB, free: 10.68 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001395/0.1477, allocations: 76.83 kB / 477.1 MB, free: 10.6 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00194/0.1497, allocations: 1.841 MB / 479 MB, free: 8.508 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.235e-05/0.1497, allocations: 30.56 kB / 479 MB, free: 8.469 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.773e-06/0.1497, allocations: 0 / 479 MB, free: 8.469 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003734/0.1501, allocations: 185.1 kB / 479.2 MB, free: 8.281 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/0.1501, allocations: 55.53 kB / 479.2 MB, free: 8.215 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004268/0.1506, allocations: 437.7 kB / 479.6 MB, free: 7.773 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.1506, allocations: 29.7 kB / 479.7 MB, free: 7.738 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001694/0.1508, allocations: 263 kB / 479.9 MB, free: 7.477 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.028e-05/0.1508, allocations: 35.55 kB / 480 MB, free: 7.441 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.532e-05/0.1508, allocations: 8 kB / 480 MB, free: 7.434 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.151, allocations: 346.8 kB / 480.3 MB, free: 7.086 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001146/0.1511, allocations: 71.7 kB / 480.4 MB, free: 7.016 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002411/0.1513, allocations: 294.2 kB / 480.7 MB, free: 6.621 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003924/0.1517, allocations: 385.5 kB / 481 MB, free: 6.137 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.1517, allocations: 4 kB / 481 MB, free: 6.133 MB / 346.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005388/0.1523, allocations: 384.9 kB / 481.4 MB, free: 5.75 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.1523, allocations: 8 kB / 481.4 MB, free: 5.742 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.1523, allocations: 8 kB / 481.4 MB, free: 5.734 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.1523, allocations: 11.94 kB / 481.5 MB, free: 5.723 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002762/0.1526, allocations: 87.89 kB / 481.5 MB, free: 5.637 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.705e-05/0.1527, allocations: 20.47 kB / 481.6 MB, free: 5.617 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002351/0.1529, allocations: 47.53 kB / 481.6 MB, free: 5.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.315e-05/0.1529, allocations: 27.98 kB / 481.6 MB, free: 5.543 MB / 346.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.000149/0.1531, allocations: 165.6 kB / 481.8 MB, free: 5.371 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.269e-05/0.1532, allocations: 39.52 kB / 481.8 MB, free: 5.332 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004646/0.1536, allocations: 239.6 kB / 482.1 MB, free: 5.066 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.1536, allocations: 4.047 kB / 482.1 MB, free: 5.062 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.196e-06/0.1537, allocations: 7.922 kB / 482.1 MB, free: 5.055 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.1537, allocations: 3.938 kB / 482.1 MB, free: 5.051 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000503/0.1542, allocations: 0.5258 MB / 482.6 MB, free: 4.465 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1542, allocations: 0 / 482.6 MB, free: 4.465 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.436e-05/0.1542, allocations: 4.375 kB / 482.6 MB, free: 4.461 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.1542, allocations: 8 kB / 482.6 MB, free: 4.453 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.1542, allocations: 4 kB / 482.6 MB, free: 4.449 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1543, allocations: 0 / 482.6 MB, free: 4.449 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.1543, allocations: 3.938 kB / 482.6 MB, free: 4.445 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001296/0.1544, allocations: 108.6 kB / 482.7 MB, free: 4.32 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001205/0.1545, allocations: 140.4 kB / 482.9 MB, free: 4.164 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.094e-05/0.1546, allocations: 0 / 482.9 MB, free: 4.164 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.741e-05/0.1547, allocations: 4 kB / 482.9 MB, free: 4.16 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.822e-05/0.1547, allocations: 8.016 kB / 482.9 MB, free: 4.152 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.435e-06/0.1547, allocations: 0 / 482.9 MB, free: 4.152 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003877/0.1551, allocations: 354.9 kB / 483.2 MB, free: 3.805 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1551, allocations: 0 / 483.2 MB, free: 3.805 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005301/0.1557, allocations: 167.9 kB / 483.4 MB, free: 3.641 MB / 346.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.0005441/0.1562, allocations: 298.9 kB / 483.7 MB, free: 3.34 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002821/0.1565, allocations: 161.1 kB / 483.8 MB, free: 3.184 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1565, allocations: 3.938 kB / 483.8 MB, free: 3.18 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.695e-05/0.1565, allocations: 7.984 kB / 483.9 MB, free: 3.172 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005305/0.1571, allocations: 86.66 kB / 483.9 MB, free: 3.086 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000923/0.158, allocations: 0.6595 MB / 484.6 MB, free: 2.402 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003102/0.1583, allocations: 0.7881 MB / 485.4 MB, free: 1.59 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003566/0.1587, allocations: 103.1 kB / 485.5 MB, free: 1.484 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.876e-05/0.1588, allocations: 47.42 kB / 485.5 MB, free: 1.438 MB / 346.7 MB Notification: Performance of SimCode: time 2.31e-07/0.1588, allocations: 4 kB / 485.5 MB, free: 1.434 MB / 346.7 MB Notification: Performance of Templates: time 0.01155/0.1704, allocations: 6.162 MB / 491.7 MB, free: 11.29 MB / 362.7 MB make -j1 -f Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.makefile (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)