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.001336/0.001336, allocations: 110.4 kB / 18.94 MB, free: 2.793 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.001662/0.001662, allocations: 220.8 kB / 22.25 MB, free: 5.215 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 / 256 MB, free: 8.012 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.9912/0.9912, allocations: 145 MB / 457.4 MB, free: 15.5 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: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",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.002041/0.002041, allocations: 74.44 kB / 0.6332 GB, free: 7.25 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.17/0.1721, allocations: 87.89 MB / 0.719 GB, free: 15.38 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002118/0.1742, allocations: 0.7911 MB / 0.7198 GB, free: 14.59 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002136/0.1763, allocations: 1.541 MB / 0.7213 GB, free: 13.03 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.809e-05/0.1764, allocations: 0 / 0.7213 GB, free: 13.03 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3e-05/0.1764, allocations: 3.938 kB / 0.7213 GB, free: 13.02 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.01e-05/0.1764, allocations: 3.938 kB / 0.7213 GB, free: 13.02 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000491/0.1769, allocations: 155.4 kB / 0.7215 GB, free: 12.87 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.119e-05/0.177, allocations: 51.66 kB / 0.7215 GB, free: 12.82 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.076e-05/0.1771, allocations: 11.97 kB / 0.7215 GB, free: 12.8 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.171e-05/0.1771, allocations: 23.92 kB / 0.7216 GB, free: 12.78 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.106e-05/0.1772, allocations: 27.91 kB / 0.7216 GB, free: 12.75 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.752e-05/0.1772, allocations: 4 kB / 0.7216 GB, free: 12.75 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004652/0.1777, allocations: 323.3 kB / 0.7219 GB, free: 12.43 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.662e-05/0.1777, allocations: 15.92 kB / 0.7219 GB, free: 12.42 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.702e-05/0.1777, allocations: 31.84 kB / 0.7219 GB, free: 12.39 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003663/0.1781, allocations: 207.4 kB / 0.7221 GB, free: 12.18 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.1781, allocations: 4 kB / 0.7221 GB, free: 12.18 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1781, allocations: 0 / 0.7221 GB, free: 12.18 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.212e-05/0.1781, allocations: 0 / 0.7221 GB, free: 12.18 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.0006575/0.1788, allocations: 329.8 kB / 0.7225 GB, free: 11.83 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.1788, allocations: 12.02 kB / 0.7225 GB, free: 11.82 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.986e-05/0.1789, allocations: 38.75 kB / 0.7225 GB, free: 11.77 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004504/0.1793, allocations: 72.8 kB / 0.7226 GB, free: 11.7 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.1794, allocations: 114.5 kB / 0.7227 GB, free: 11.56 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.281e-05/0.1795, allocations: 384 / 0.7227 GB, free: 11.56 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.288e-05/0.1795, allocations: 20.31 kB / 0.7227 GB, free: 11.54 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003674/0.1799, allocations: 105.7 kB / 0.7228 GB, free: 11.43 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.1799, allocations: 0 / 0.7228 GB, free: 11.43 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.1799, allocations: 0 / 0.7228 GB, free: 11.43 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.1799, allocations: 0 / 0.7228 GB, free: 11.43 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004623/0.1803, allocations: 103.9 kB / 0.7229 GB, free: 11.33 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005852/0.1809, allocations: 307.7 kB / 0.7232 GB, free: 10.99 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000626/0.1816, allocations: 150.4 kB / 0.7233 GB, free: 10.83 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002357/0.1818, allocations: 56.81 kB / 0.7234 GB, free: 10.77 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.519e-05/0.1818, allocations: 4 kB / 0.7234 GB, free: 10.77 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/0.1818, allocations: 30.56 kB / 0.7234 GB, free: 10.73 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.1818, allocations: 0 / 0.7234 GB, free: 10.73 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.01869/0.2005, allocations: 2.703 MB / 0.7261 GB, free: 7.969 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/0.2006, allocations: 55.34 kB / 0.7261 GB, free: 7.902 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.75e-05/0.2007, allocations: 97.84 kB / 0.7262 GB, free: 7.797 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.313e-05/0.2007, allocations: 33.7 kB / 0.7262 GB, free: 7.758 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.383e-05/0.2008, allocations: 84.09 kB / 0.7263 GB, free: 7.672 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.987e-05/0.2008, allocations: 47.7 kB / 0.7264 GB, free: 7.625 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001544/0.201, allocations: 73.52 kB / 0.7264 GB, free: 7.547 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.2011, allocations: 322.8 kB / 0.7267 GB, free: 7.223 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006381/0.2018, allocations: 191.8 kB / 0.7269 GB, free: 7.035 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006239/0.2024, allocations: 190.7 kB / 0.7271 GB, free: 6.852 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001338/0.2037, allocations: 392.7 kB / 0.7275 GB, free: 6.465 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.2038, allocations: 4 kB / 0.7275 GB, free: 6.461 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001481/0.2052, allocations: 473.1 kB / 0.7279 GB, free: 5.992 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/0.2053, allocations: 8 kB / 0.7279 GB, free: 5.984 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.2053, allocations: 0 / 0.7279 GB, free: 5.984 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.272e-05/0.2053, allocations: 7.984 kB / 0.728 GB, free: 5.977 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008344/0.2061, allocations: 107.7 kB / 0.7281 GB, free: 5.871 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.2061, allocations: 4 kB / 0.7281 GB, free: 5.867 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006205/0.2068, allocations: 43.94 kB / 0.7281 GB, free: 5.824 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.508e-05/0.2068, allocations: 27.88 kB / 0.7281 GB, free: 5.797 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.0002132/0.207, allocations: 117.8 kB / 0.7282 GB, free: 5.672 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.471e-05/0.2071, allocations: 3.953 kB / 0.7282 GB, free: 5.668 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.326e-05/0.2072, allocations: 24.05 kB / 0.7283 GB, free: 5.641 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.2072, allocations: 3.938 kB / 0.7283 GB, free: 5.637 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.2072, allocations: 0 / 0.7283 GB, free: 5.637 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.2072, allocations: 0 / 0.7283 GB, free: 5.637 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002359/0.2096, allocations: 1.003 MB / 0.7293 GB, free: 4.531 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.2096, allocations: 0 / 0.7293 GB, free: 4.531 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008155/0.2104, allocations: 119.7 kB / 0.7294 GB, free: 4.414 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.2104, allocations: 0 / 0.7294 GB, free: 4.414 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.99e-05/0.2104, allocations: 23.94 kB / 0.7294 GB, free: 4.391 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.2104, allocations: 7.938 kB / 0.7294 GB, free: 4.383 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.2104, allocations: 4 kB / 0.7294 GB, free: 4.379 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002243/0.2127, allocations: 0.7801 MB / 0.7302 GB, free: 3.582 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001533/0.2128, allocations: 47.89 kB / 0.7302 GB, free: 3.535 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.718e-05/0.2129, allocations: 4 kB / 0.7302 GB, free: 3.531 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006453/0.2136, allocations: 43.94 kB / 0.7303 GB, free: 3.488 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.639e-05/0.2136, allocations: 27.92 kB / 0.7303 GB, free: 3.461 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.565e-05/0.2137, allocations: 31.92 kB / 0.7303 GB, free: 3.43 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.943e-05/0.2138, allocations: 79.28 kB / 0.7304 GB, free: 3.352 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.2138, allocations: 0 / 0.7304 GB, free: 3.352 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003831/0.2141, allocations: 55.94 kB / 0.7304 GB, free: 3.297 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.002662/0.2168, allocations: 1.341 MB / 0.7318 GB, free: 1.93 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001395/0.2182, allocations: 426 kB / 0.7322 GB, free: 1.516 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2182, allocations: 0 / 0.7322 GB, free: 1.516 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000719/0.2189, allocations: 227.6 kB / 0.7324 GB, free: 1.293 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/0.2193, allocations: 12.88 kB / 0.7324 GB, free: 1.281 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008612/0.2279, allocations: 2.948 MB / 0.7353 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003233/0.2282, allocations: 0.6896 MB / 0.7359 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004977/0.2287, allocations: 92.67 kB / 0.736 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002793/0.229, allocations: 67.28 kB / 0.7361 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of SimCode: time 6.22e-07/0.229, allocations: 0 / 0.7361 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03612/0.2651, allocations: 4.793 MB / 0.7408 GB, free: 8.715 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.38, allocations: 3.938 kB / 0.7408 GB, free: 8.711 MB / 0.5606 GB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check_fmu --startTime=-1.5 --stopTime=1.5 --stepSize=0.0012 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.624524103943259] Failed to read output from testmodel.py, exit status != 0: 11.494701964780688 11.865466268 11.68230391 Calling exit ...