Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 192.4 kB / 16.53 MB, free: 6.391 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.352/1.352, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9614/0.9614, allocations: 143 MB / 433.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 71.91 kB / 0.5143 GB, free: 11.58 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.1659, allocations: 82.05 MB / 0.5944 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.00198/0.168, allocations: 0.5857 MB / 0.595 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001818/0.1698, allocations: 1.446 MB / 0.5964 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.407e-05/0.1698, allocations: 0 / 0.5964 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.418e-05/0.1699, allocations: 3.938 kB / 0.5964 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.984e-05/0.1699, allocations: 0 / 0.5964 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005266/0.1705, allocations: 143.4 kB / 0.5965 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.132e-05/0.1705, allocations: 23.98 kB / 0.5966 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.908e-05/0.1706, allocations: 3.938 kB / 0.5966 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.471e-05/0.1706, allocations: 27.91 kB / 0.5966 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.911e-05/0.1707, allocations: 23.95 kB / 0.5966 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.813e-05/0.1707, allocations: 4 kB / 0.5966 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004505/0.1712, allocations: 315.4 kB / 0.5969 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.666e-05/0.1712, allocations: 7.984 kB / 0.5969 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.687e-05/0.1712, allocations: 15.92 kB / 0.5969 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002999/0.1715, allocations: 187.6 kB / 0.5971 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1716, allocations: 0 / 0.5971 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1716, allocations: 0 / 0.5971 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.1716, allocations: 0 / 0.5971 GB, free: 6.691 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005003/0.1721, allocations: 371.7 kB / 0.5975 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.1721, allocations: 8.031 kB / 0.5975 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.6e-05/0.1722, allocations: 38.69 kB / 0.5975 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004564/0.1726, allocations: 72.84 kB / 0.5976 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/0.1727, allocations: 160.4 kB / 0.5977 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.143e-05/0.1728, allocations: 4.359 kB / 0.5977 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.445e-05/0.1728, allocations: 4.375 kB / 0.5977 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002511/0.173, allocations: 77.75 kB / 0.5978 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.607e-06/0.1731, allocations: 4 kB / 0.5978 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.1731, allocations: 4 kB / 0.5978 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.1731, allocations: 0 / 0.5978 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002946/0.1734, allocations: 63.94 kB / 0.5979 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001734/0.1736, allocations: 169.6 kB / 0.598 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005876/0.1742, allocations: 118.6 kB / 0.5982 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001636/0.1743, allocations: 44.92 kB / 0.5982 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000443/0.1748, allocations: 149 kB / 0.5983 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.1748, allocations: 46.42 kB / 0.5984 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.1748, allocations: 0 / 0.5984 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.001155/0.176, allocations: 402.2 kB / 0.5988 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.724e-05/0.176, allocations: 59.41 kB / 0.5988 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.844e-05/0.1761, allocations: 89.86 kB / 0.5989 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.1761, allocations: 29.7 kB / 0.5989 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.979e-05/0.1762, allocations: 80.14 kB / 0.599 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.586e-05/0.1762, allocations: 27.58 kB / 0.599 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.608e-05/0.1763, allocations: 21.72 kB / 0.5991 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.434e-05/0.1764, allocations: 310.8 kB / 0.5994 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001661/0.1765, allocations: 40.08 kB / 0.5994 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001479/0.1767, allocations: 35.97 kB / 0.5994 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002956/0.177, allocations: 76.8 kB / 0.5995 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.177, allocations: 0 / 0.5995 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003635/0.1774, allocations: 109.6 kB / 0.5996 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.1774, allocations: 15.92 kB / 0.5996 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.1774, allocations: 0 / 0.5996 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.1774, allocations: 0 / 0.5996 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001443/0.1776, allocations: 27.92 kB / 0.5997 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.1776, allocations: 0 / 0.5997 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.966e-05/0.1777, allocations: 15.98 kB / 0.5997 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/0.1777, allocations: 0 / 0.5997 GB, free: 3.773 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (6): * Single equations (assignments): 6 * 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 7.526e-05/0.1778, allocations: 117.8 kB / 0.5998 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.867e-05/0.1778, allocations: 3.938 kB / 0.5998 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004502/0.1783, allocations: 145.4 kB / 0.5999 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.1783, allocations: 0 / 0.5999 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1783, allocations: 0 / 0.5999 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.1783, allocations: 0 / 0.5999 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001419/0.1784, allocations: 165.6 kB / 0.6001 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.1785, allocations: 11.88 kB / 0.6001 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000151/0.1786, allocations: 19.98 kB / 0.6001 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.1786, allocations: 4.328 kB / 0.6001 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.1786, allocations: 0 / 0.6001 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.1787, allocations: 3.984 kB / 0.6001 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1787, allocations: 3.938 kB / 0.6001 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005591/0.1792, allocations: 192.9 kB / 0.6003 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.448e-05/0.1793, allocations: 93.05 kB / 0.6004 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.932e-05/0.1793, allocations: 0 / 0.6004 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/0.1795, allocations: 15.98 kB / 0.6004 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.511e-05/0.1795, allocations: 7.984 kB / 0.6004 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.096e-06/0.1795, allocations: 0 / 0.6004 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.751e-05/0.1795, allocations: 87.28 kB / 0.6005 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1795, allocations: 0 / 0.6005 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002313/0.1798, allocations: 32 kB / 0.6005 GB, free: 2.789 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * 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 (6): * Single equations (assignments): 6 * 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.0009345/0.1807, allocations: 0.7452 MB / 0.6013 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003713/0.1811, allocations: 87.92 kB / 0.6013 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.1811, allocations: 0 / 0.6013 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001675/0.1813, allocations: 43.97 kB / 0.6014 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001555/0.1815, allocations: 11.42 kB / 0.6014 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001979/0.1834, allocations: 1.364 MB / 0.6027 GB, free: 444 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2393/0.4228, allocations: 0.6773 MB / 0.6034 GB, free: 43.88 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001422/0.423, allocations: 15.28 kB / 0.6034 GB, free: 43.88 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.864e-05/0.4231, allocations: 13.94 kB / 0.6034 GB, free: 43.87 MB / 0.4981 GB Notification: Performance of SimCode: time 8.41e-07/0.4231, allocations: 0 / 0.6034 GB, free: 43.87 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01798/0.441, allocations: 2.05 MB / 0.6054 GB, free: 43.6 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.581/8.022, allocations: 6.688 kB / 0.6054 GB, free: 43.59 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0008 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)