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.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.001621/0.001621, allocations: 102.5 kB / 16.45 MB, free: 6.504 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.001943/0.001943, allocations: 212.9 kB / 19.43 MB, free: 3.656 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.437/1.437, allocations: 230.6 MB / 252.8 MB, free: 8.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.9074/0.9074, allocations: 145 MB / 453.8 MB, free: 0.6797 MB / 350.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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: "" <> 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"}) [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002793/0.002793, allocations: 74.47 kB / 0.6281 GB, free: 10.53 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.184/0.1868, allocations: 87.81 MB / 0.7138 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001709/0.1885, allocations: 0.6016 MB / 0.7144 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002004/0.1905, allocations: 1.509 MB / 0.7159 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.539e-05/0.1906, allocations: 0 / 0.7159 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.129e-05/0.1906, allocations: 3.938 kB / 0.7159 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.013e-05/0.1906, allocations: 3.938 kB / 0.7159 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000476/0.1911, allocations: 143.5 kB / 0.716 GB, free: 468 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.231e-05/0.1912, allocations: 35.89 kB / 0.7161 GB, free: 432 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.56e-05/0.1912, allocations: 0 / 0.7161 GB, free: 432 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.168e-05/0.1912, allocations: 15.98 kB / 0.7161 GB, free: 416 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.892e-05/0.1913, allocations: 23.91 kB / 0.7161 GB, free: 392 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.567e-05/0.1913, allocations: 4 kB / 0.7161 GB, free: 388 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004672/0.1918, allocations: 319.3 kB / 0.7164 GB, free: 68 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.603e-05/0.1918, allocations: 11.98 kB / 0.7164 GB, free: 56 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.57e-05/0.1918, allocations: 11.92 kB / 0.7165 GB, free: 44 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003245/0.1922, allocations: 187.8 kB / 0.7166 GB, free: 15.86 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1922, allocations: 0 / 0.7166 GB, free: 15.86 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.253e-06/0.1922, allocations: 0 / 0.7166 GB, free: 15.86 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.1922, allocations: 0 / 0.7166 GB, free: 15.86 MB / 0.545 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.0005789/0.1928, allocations: 371 kB / 0.717 GB, free: 15.45 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.1928, allocations: 12.03 kB / 0.717 GB, free: 15.44 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.644e-05/0.1928, allocations: 30.75 kB / 0.717 GB, free: 15.4 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004678/0.1933, allocations: 72.84 kB / 0.7171 GB, free: 15.33 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.1934, allocations: 160.4 kB / 0.7172 GB, free: 15.13 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.1935, allocations: 4.312 kB / 0.7173 GB, free: 15.13 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.66e-05/0.1935, allocations: 8.328 kB / 0.7173 GB, free: 15.12 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002703/0.1938, allocations: 81.75 kB / 0.7173 GB, free: 15.04 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.1938, allocations: 0 / 0.7173 GB, free: 15.04 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.1938, allocations: 4 kB / 0.7173 GB, free: 15.03 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.1938, allocations: 3.938 kB / 0.7173 GB, free: 15.03 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003159/0.1941, allocations: 59.94 kB / 0.7174 GB, free: 14.97 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002124/0.1943, allocations: 165.7 kB / 0.7176 GB, free: 14.76 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006234/0.1949, allocations: 122.5 kB / 0.7177 GB, free: 14.63 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000174/0.1951, allocations: 44.92 kB / 0.7177 GB, free: 14.58 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000487/0.1956, allocations: 153 kB / 0.7179 GB, free: 14.41 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/0.1956, allocations: 34.5 kB / 0.7179 GB, free: 14.37 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 3.377e-06/0.1956, allocations: 3.984 kB / 0.7179 GB, free: 14.37 MB / 0.545 GB Notification: Performance of matching and sorting (n=5): time 0.001234/0.1969, allocations: 410.1 kB / 0.7183 GB, free: 13.91 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.976e-05/0.1969, allocations: 55.41 kB / 0.7183 GB, free: 13.85 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.993e-05/0.197, allocations: 97.86 kB / 0.7184 GB, free: 13.74 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.197, allocations: 25.7 kB / 0.7185 GB, free: 13.71 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.731e-05/0.197, allocations: 80.14 kB / 0.7185 GB, free: 13.63 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.464e-05/0.1971, allocations: 19.89 kB / 0.7186 GB, free: 13.61 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.832e-05/0.1971, allocations: 17.7 kB / 0.7186 GB, free: 13.59 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.1973, allocations: 318.8 kB / 0.7189 GB, free: 13.27 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001738/0.1975, allocations: 40.08 kB / 0.7189 GB, free: 13.23 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000159/0.1976, allocations: 36.03 kB / 0.719 GB, free: 13.19 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003221/0.1979, allocations: 80.73 kB / 0.719 GB, free: 13.11 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1979, allocations: 0 / 0.719 GB, free: 13.11 MB / 0.545 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004057/0.1983, allocations: 117.5 kB / 0.7191 GB, free: 12.99 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.1984, allocations: 4 kB / 0.7191 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.1984, allocations: 3.984 kB / 0.7191 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.1984, allocations: 7.938 kB / 0.7192 GB, free: 12.97 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.1985, allocations: 23.98 kB / 0.7192 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.89e-06/0.1985, allocations: 0 / 0.7192 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.1986, allocations: 11.98 kB / 0.7192 GB, free: 12.94 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.1986, allocations: 0 / 0.7192 GB, free: 12.94 MB / 0.545 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 0.0001001/0.1987, allocations: 121.8 kB / 0.7193 GB, free: 12.81 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.747e-05/0.1988, allocations: 3.938 kB / 0.7193 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004629/0.1992, allocations: 129.2 kB / 0.7194 GB, free: 12.67 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.1992, allocations: 3.984 kB / 0.7194 GB, free: 12.67 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.1992, allocations: 4 kB / 0.7194 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.1992, allocations: 0 / 0.7194 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000156/0.1994, allocations: 161.7 kB / 0.7196 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.1994, allocations: 11.92 kB / 0.7196 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001551/0.1996, allocations: 19.98 kB / 0.7196 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1996, allocations: 3.938 kB / 0.7196 GB, free: 12.42 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.1996, allocations: 4.25 kB / 0.7196 GB, free: 12.42 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.1996, allocations: 4 kB / 0.7196 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.1996, allocations: 3.938 kB / 0.7196 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000615/0.2002, allocations: 189 kB / 0.7198 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.758e-05/0.2003, allocations: 89.03 kB / 0.7199 GB, free: 12.1 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.2003, allocations: 4.031 kB / 0.7199 GB, free: 12.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.2004, allocations: 11.98 kB / 0.7199 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.444e-05/0.2004, allocations: 3.984 kB / 0.7199 GB, free: 12.08 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.2005, allocations: 4 kB / 0.7199 GB, free: 12.08 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.831e-05/0.2005, allocations: 83.34 kB / 0.72 GB, free: 12 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2005, allocations: 0 / 0.72 GB, free: 12 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002358/0.2007, allocations: 31.88 kB / 0.72 GB, free: 11.96 MB / 0.545 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.001023/0.2018, allocations: 0.749 MB / 0.7208 GB, free: 11.18 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004229/0.2022, allocations: 83.98 kB / 0.7209 GB, free: 11.1 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2022, allocations: 0 / 0.7209 GB, free: 11.1 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001804/0.2024, allocations: 47.91 kB / 0.7209 GB, free: 11.05 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001499/0.2025, allocations: 5.719 kB / 0.7209 GB, free: 11.05 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002218/0.2047, allocations: 1.367 MB / 0.7222 GB, free: 9.602 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003228/0.2051, allocations: 0.6768 MB / 0.7229 GB, free: 8.898 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.434e-05/0.2051, allocations: 16 kB / 0.7229 GB, free: 8.883 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.507e-05/0.2052, allocations: 19.42 kB / 0.7229 GB, free: 8.863 MB / 0.545 GB Notification: Performance of SimCode: time 3.1e-07/0.2052, allocations: 0 / 0.7229 GB, free: 8.863 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02575/0.231, allocations: 2.099 MB / 0.725 GB, free: 6.906 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.902/8.133, allocations: 4.688 kB / 0.725 GB, free: 6.902 MB / 0.545 GB " [Timeout remaining time 652] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.86974710598588] Failed to read output from testmodel.py, exit status != 0: 8.203753163004876 8.228261496 8.031395966 Calling exit ...