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.001955/0.001955, allocations: 116.8 kB / 17.17 MB, free: 6.004 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.002351/0.002351, allocations: 214.4 kB / 20.13 MB, free: 3.055 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.52/1.52, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.9395/0.9395, allocations: 144.9 MB / 454.5 MB, free: 9.996 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="cs",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.002002/0.002002, allocations: 71.03 kB / 0.6288 GB, free: 33.64 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1743/0.1763, allocations: 87.83 MB / 0.7145 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001964/0.1783, allocations: 0.6022 MB / 0.7151 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002226/0.1805, allocations: 1.514 MB / 0.7166 GB, free: 9.535 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.649e-05/0.1806, allocations: 0 / 0.7166 GB, free: 9.535 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.144e-05/0.1806, allocations: 0 / 0.7166 GB, free: 9.535 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 2.824e-05/0.1806, allocations: 0 / 0.7166 GB, free: 9.535 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006478/0.1813, allocations: 143.4 kB / 0.7167 GB, free: 9.395 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.452e-05/0.1813, allocations: 39.84 kB / 0.7168 GB, free: 9.355 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.861e-05/0.1814, allocations: 0 / 0.7168 GB, free: 9.355 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.329e-05/0.1815, allocations: 15.98 kB / 0.7168 GB, free: 9.34 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.222e-05/0.1815, allocations: 31.94 kB / 0.7168 GB, free: 9.309 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.891e-05/0.1816, allocations: 4 kB / 0.7168 GB, free: 9.305 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005178/0.1821, allocations: 315.3 kB / 0.7171 GB, free: 8.996 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.049e-05/0.1821, allocations: 7.984 kB / 0.7171 GB, free: 8.988 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.271e-05/0.1821, allocations: 11.97 kB / 0.7171 GB, free: 8.977 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003532/0.1825, allocations: 191.7 kB / 0.7173 GB, free: 8.789 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1825, allocations: 0 / 0.7173 GB, free: 8.789 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.084e-06/0.1825, allocations: 0 / 0.7173 GB, free: 8.789 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.1825, allocations: 0 / 0.7173 GB, free: 8.789 MB / 0.5294 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.0006399/0.1831, allocations: 367.1 kB / 0.7177 GB, free: 8.383 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.1832, allocations: 12.03 kB / 0.7177 GB, free: 8.371 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.645e-05/0.1832, allocations: 192 / 0.7177 GB, free: 8.371 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.717e-05/0.1832, allocations: 34.75 kB / 0.7177 GB, free: 8.328 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004983/0.1837, allocations: 68.84 kB / 0.7178 GB, free: 8.262 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001632/0.1839, allocations: 160.4 kB / 0.7179 GB, free: 8.066 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.935e-05/0.1839, allocations: 4.375 kB / 0.7179 GB, free: 8.062 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.904e-05/0.184, allocations: 8.266 kB / 0.7179 GB, free: 8.055 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003118/0.1843, allocations: 89.5 kB / 0.718 GB, free: 7.961 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.1843, allocations: 0 / 0.718 GB, free: 7.961 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.1843, allocations: 0 / 0.718 GB, free: 7.961 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.1843, allocations: 0 / 0.718 GB, free: 7.961 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003309/0.1846, allocations: 63.94 kB / 0.7181 GB, free: 7.898 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002236/0.1849, allocations: 161.7 kB / 0.7182 GB, free: 7.691 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006741/0.1855, allocations: 122.5 kB / 0.7184 GB, free: 7.562 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001806/0.1857, allocations: 48.92 kB / 0.7184 GB, free: 7.512 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004986/0.1862, allocations: 153 kB / 0.7186 GB, free: 7.344 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.827e-05/0.1862, allocations: 34.55 kB / 0.7186 GB, free: 7.301 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.1862, allocations: 4 kB / 0.7186 GB, free: 7.297 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.001318/0.1876, allocations: 406.1 kB / 0.719 GB, free: 6.848 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.999e-05/0.1876, allocations: 55.41 kB / 0.719 GB, free: 6.781 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.593e-05/0.1877, allocations: 97.8 kB / 0.7191 GB, free: 6.676 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/0.1877, allocations: 25.7 kB / 0.7192 GB, free: 6.645 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.044e-05/0.1878, allocations: 84.14 kB / 0.7192 GB, free: 6.559 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.554e-05/0.1878, allocations: 11.89 kB / 0.7192 GB, free: 6.547 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.576e-05/0.1879, allocations: 25.84 kB / 0.7193 GB, free: 6.516 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002143/0.1881, allocations: 314.8 kB / 0.7196 GB, free: 6.199 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001726/0.1883, allocations: 35.95 kB / 0.7196 GB, free: 6.164 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001792/0.1884, allocations: 39.97 kB / 0.7196 GB, free: 6.125 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000329/0.1888, allocations: 80.92 kB / 0.7197 GB, free: 6.043 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1888, allocations: 0 / 0.7197 GB, free: 6.043 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004225/0.1892, allocations: 117.5 kB / 0.7198 GB, free: 5.922 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.1892, allocations: 14.34 kB / 0.7198 GB, free: 5.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.1892, allocations: 0 / 0.7198 GB, free: 5.91 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.1892, allocations: 0 / 0.7198 GB, free: 5.91 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.1894, allocations: 19.98 kB / 0.7199 GB, free: 5.891 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.1894, allocations: 0 / 0.7199 GB, free: 5.891 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001013/0.1895, allocations: 11.98 kB / 0.7199 GB, free: 5.879 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.1895, allocations: 7.984 kB / 0.7199 GB, free: 5.871 MB / 0.5294 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 9.124e-05/0.1896, allocations: 113.8 kB / 0.72 GB, free: 5.75 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.959e-05/0.1896, allocations: 4.266 kB / 0.72 GB, free: 5.746 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000487/0.1901, allocations: 137 kB / 0.7201 GB, free: 5.605 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.1901, allocations: 11.98 kB / 0.7201 GB, free: 5.594 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.1901, allocations: 0 / 0.7201 GB, free: 5.594 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1901, allocations: 0 / 0.7201 GB, free: 5.594 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000172/0.1903, allocations: 169.6 kB / 0.7203 GB, free: 5.379 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1903, allocations: 0 / 0.7203 GB, free: 5.379 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001593/0.1904, allocations: 19.98 kB / 0.7203 GB, free: 5.359 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.716e-06/0.1904, allocations: 4 kB / 0.7203 GB, free: 5.355 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.1905, allocations: 0 / 0.7203 GB, free: 5.355 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.1905, allocations: 3.984 kB / 0.7203 GB, free: 5.352 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1905, allocations: 4 kB / 0.7203 GB, free: 5.348 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000619/0.1911, allocations: 193 kB / 0.7205 GB, free: 5.141 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.303e-05/0.1912, allocations: 89.12 kB / 0.7206 GB, free: 5.035 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.921e-05/0.1912, allocations: 0 / 0.7206 GB, free: 5.035 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001227/0.1913, allocations: 11.98 kB / 0.7206 GB, free: 5.023 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.77e-05/0.1913, allocations: 12.05 kB / 0.7206 GB, free: 5.012 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.1913, allocations: 0 / 0.7206 GB, free: 5.012 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.025e-05/0.1914, allocations: 87.22 kB / 0.7207 GB, free: 4.926 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1914, allocations: 0 / 0.7207 GB, free: 4.926 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002519/0.1916, allocations: 31.86 kB / 0.7207 GB, free: 4.895 MB / 0.5294 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.001121/0.1928, allocations: 0.749 MB / 0.7215 GB, free: 4.113 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004304/0.1932, allocations: 83.98 kB / 0.7215 GB, free: 4.031 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.1932, allocations: 0 / 0.7215 GB, free: 4.031 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001808/0.1934, allocations: 43.91 kB / 0.7216 GB, free: 3.988 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001633/0.1935, allocations: 11.98 kB / 0.7216 GB, free: 3.977 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002313/0.1959, allocations: 1.363 MB / 0.7229 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003064/0.1962, allocations: 0.6807 MB / 0.7236 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 8.975e-05/0.1963, allocations: 19.94 kB / 0.7236 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.584e-05/0.1963, allocations: 19.42 kB / 0.7236 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of SimCode: time 4.31e-07/0.1963, allocations: 0 / 0.7236 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02776/0.2241, allocations: 2.141 MB / 0.7257 GB, free: 15.82 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.174/8.398, allocations: 8.547 kB / 0.7257 GB, free: 15.81 MB / 0.545 GB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-08 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: 12.320450668979902] Failed to read output from testmodel.py, exit status != 0: 8.519747460028157 8.534668611 8.349212945 Calling exit ...