Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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.001661/0.001661, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001675/0.001675, allocations: 208.4 kB / 22.24 MB, free: 5.262 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.429/1.429, allocations: 230.6 MB / 256 MB, free: 7.809 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.9379/0.9379, allocations: 145 MB / 457.4 MB, free: 15.29 MB / 366.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: translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") [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.002008/0.002008, allocations: 74.44 kB / 0.6336 GB, free: 6.176 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.183/0.185, allocations: 87.88 MB / 0.7194 GB, free: 14.29 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002384/0.1874, allocations: 0.7677 MB / 0.7202 GB, free: 13.53 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002422/0.1899, allocations: 1.455 MB / 0.7216 GB, free: 12.05 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.123e-05/0.1899, allocations: 0 / 0.7216 GB, free: 12.05 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.012e-05/0.1899, allocations: 7.922 kB / 0.7216 GB, free: 12.05 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.229e-05/0.19, allocations: 0 / 0.7216 GB, free: 12.05 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006434/0.1906, allocations: 155.4 kB / 0.7218 GB, free: 11.89 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001175/0.1907, allocations: 59.58 kB / 0.7218 GB, free: 11.84 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.438e-05/0.1908, allocations: 0 / 0.7218 GB, free: 11.84 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.401e-05/0.1909, allocations: 27.92 kB / 0.7219 GB, free: 11.81 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.805e-05/0.1909, allocations: 31.89 kB / 0.7219 GB, free: 11.78 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.049e-05/0.191, allocations: 4 kB / 0.7219 GB, free: 11.77 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004472/0.1914, allocations: 247.5 kB / 0.7221 GB, free: 11.53 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.138e-05/0.1914, allocations: 15.92 kB / 0.7221 GB, free: 11.52 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.422e-05/0.1915, allocations: 23.92 kB / 0.7222 GB, free: 11.49 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003765/0.1919, allocations: 203.4 kB / 0.7224 GB, free: 11.29 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1919, allocations: 0 / 0.7224 GB, free: 11.29 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.353e-06/0.1919, allocations: 0 / 0.7224 GB, free: 11.29 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.1919, allocations: 0 / 0.7224 GB, free: 11.29 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007176/0.1926, allocations: 329.8 kB / 0.7227 GB, free: 10.94 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.1926, allocations: 12.03 kB / 0.7227 GB, free: 10.93 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000465/0.1931, allocations: 76.73 kB / 0.7228 GB, free: 10.86 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001754/0.1933, allocations: 106.5 kB / 0.7229 GB, free: 10.73 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.426e-05/0.1933, allocations: 8.375 kB / 0.7229 GB, free: 10.72 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.112e-05/0.1933, allocations: 8.375 kB / 0.7229 GB, free: 10.71 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004504/0.1938, allocations: 165.3 kB / 0.723 GB, free: 10.53 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/0.1938, allocations: 4 kB / 0.723 GB, free: 10.53 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.761e-05/0.1938, allocations: 3.984 kB / 0.723 GB, free: 10.52 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.1938, allocations: 0 / 0.723 GB, free: 10.52 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004865/0.1943, allocations: 103.8 kB / 0.7231 GB, free: 10.42 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006234/0.1949, allocations: 268.3 kB / 0.7234 GB, free: 10.13 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006537/0.1956, allocations: 162.4 kB / 0.7235 GB, free: 9.961 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002384/0.1958, allocations: 52.81 kB / 0.7236 GB, free: 9.906 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.798e-05/0.1958, allocations: 0 / 0.7236 GB, free: 9.906 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.532e-05/0.1959, allocations: 34.56 kB / 0.7236 GB, free: 9.863 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 9.32e-07/0.1959, allocations: 4 kB / 0.7236 GB, free: 9.859 MB / 0.545 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=11): time 0.01756/0.2134, allocations: 2.679 MB / 0.7262 GB, free: 7.121 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.9e-05/0.2135, allocations: 55.41 kB / 0.7263 GB, free: 7.055 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/0.2136, allocations: 105.8 kB / 0.7264 GB, free: 6.941 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.734e-05/0.2137, allocations: 29.7 kB / 0.7264 GB, free: 6.906 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.215e-05/0.2138, allocations: 92.03 kB / 0.7265 GB, free: 6.812 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.639e-05/0.2138, allocations: 35.69 kB / 0.7266 GB, free: 6.777 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000164/0.214, allocations: 77.61 kB / 0.7266 GB, free: 6.695 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.2142, allocations: 322.8 kB / 0.7269 GB, free: 6.371 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006812/0.2148, allocations: 191.8 kB / 0.7271 GB, free: 6.184 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00067/0.2155, allocations: 195.7 kB / 0.7273 GB, free: 5.992 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001338/0.2168, allocations: 395.5 kB / 0.7277 GB, free: 5.605 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.2168, allocations: 0 / 0.7277 GB, free: 5.605 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001543/0.2184, allocations: 473.2 kB / 0.7281 GB, free: 5.137 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.2184, allocations: 8 kB / 0.7281 GB, free: 5.129 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.2184, allocations: 0 / 0.7281 GB, free: 5.129 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.2184, allocations: 4 kB / 0.7281 GB, free: 5.125 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000806/0.2192, allocations: 107.7 kB / 0.7282 GB, free: 5.02 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.2193, allocations: 4 kB / 0.7283 GB, free: 5.016 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005753/0.2198, allocations: 51.88 kB / 0.7283 GB, free: 4.965 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.613e-05/0.2199, allocations: 23.94 kB / 0.7283 GB, free: 4.941 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 (13): * Single equations (assignments): 13 * 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.0001728/0.2201, allocations: 113.8 kB / 0.7284 GB, free: 4.82 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.366e-05/0.2202, allocations: 3.953 kB / 0.7284 GB, free: 4.816 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.496e-05/0.2202, allocations: 20.05 kB / 0.7285 GB, free: 4.793 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.2202, allocations: 4 kB / 0.7285 GB, free: 4.789 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.2203, allocations: 0 / 0.7285 GB, free: 4.789 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.341e-06/0.2203, allocations: 3.938 kB / 0.7285 GB, free: 4.785 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002316/0.2226, allocations: 0.9529 MB / 0.7294 GB, free: 3.742 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.2226, allocations: 0 / 0.7294 GB, free: 3.742 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007895/0.2234, allocations: 107.8 kB / 0.7295 GB, free: 3.637 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.214e-06/0.2234, allocations: 4 kB / 0.7295 GB, free: 3.633 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.154e-05/0.2234, allocations: 19.94 kB / 0.7295 GB, free: 3.613 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.735e-06/0.2234, allocations: 7.922 kB / 0.7295 GB, free: 3.605 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.2234, allocations: 0 / 0.7295 GB, free: 3.605 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002418/0.2259, allocations: 0.7956 MB / 0.7303 GB, free: 2.793 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001723/0.226, allocations: 39.89 kB / 0.7303 GB, free: 2.754 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.7e-05/0.2261, allocations: 4 kB / 0.7303 GB, free: 2.75 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006494/0.2267, allocations: 55.92 kB / 0.7304 GB, free: 2.695 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.796e-05/0.2268, allocations: 27.92 kB / 0.7304 GB, free: 2.668 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.65e-05/0.2269, allocations: 23.94 kB / 0.7304 GB, free: 2.645 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.712e-05/0.227, allocations: 83.27 kB / 0.7305 GB, free: 2.562 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.227, allocations: 0 / 0.7305 GB, free: 2.562 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004088/0.2274, allocations: 55.94 kB / 0.7306 GB, free: 2.508 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_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 (11): * Single equations (assignments): 11 * 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.000257/0.2276, allocations: 111.2 kB / 0.7307 GB, free: 2.391 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001454/0.2291, allocations: 411.5 kB / 0.7311 GB, free: 1.988 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.2291, allocations: 4 kB / 0.7311 GB, free: 1.984 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007367/0.2298, allocations: 223.7 kB / 0.7313 GB, free: 1.766 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003716/0.2302, allocations: 15.94 kB / 0.7313 GB, free: 1.75 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004194/0.2344, allocations: 0.771 MB / 0.7321 GB, free: 0.9492 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.474e-05/0.2345, allocations: 76.08 kB / 0.7321 GB, free: 0.8555 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005173/0.235, allocations: 89 kB / 0.7322 GB, free: 0.7656 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002713/0.2353, allocations: 55.3 kB / 0.7323 GB, free: 0.7148 MB / 0.545 GB Notification: Performance of SimCode: time 7.11e-07/0.2353, allocations: 4 kB / 0.7323 GB, free: 0.7109 MB / 0.545 GB Notification: Performance of Templates: time 0.007861/0.2431, allocations: 3.725 MB / 0.7359 GB, free: 13.01 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.980334725230932] Failed to read output from testmodel.py, exit status != 0: 0.2519286461174488 0.5397516219999999 0.07171675500000001 Calling exit ...