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.001299/0.001299, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.001381/0.001381, allocations: 209.6 kB / 20.13 MB, free: 3.035 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.496/1.496, allocations: 230.6 MB / 253.5 MB, free: 15.1 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 1.041/1.041, allocations: 145 MB / 454.5 MB, free: 9.969 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.InverseXDerivative_2_Check,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="cs",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="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.001956/0.001956, allocations: 72.39 kB / 0.6288 GB, free: 33.54 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1552, allocations: 87.84 MB / 0.7145 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002152/0.1574, allocations: 0.7782 MB / 0.7153 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002239/0.1596, allocations: 1.536 MB / 0.7168 GB, free: 9.336 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.937e-05/0.1596, allocations: 0 / 0.7168 GB, free: 9.336 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.261e-05/0.1597, allocations: 3.938 kB / 0.7168 GB, free: 9.332 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.969e-05/0.1597, allocations: 3.938 kB / 0.7168 GB, free: 9.328 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005744/0.1603, allocations: 151.4 kB / 0.717 GB, free: 9.18 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001059/0.1604, allocations: 51.66 kB / 0.717 GB, free: 9.129 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.59e-05/0.1604, allocations: 7.969 kB / 0.717 GB, free: 9.121 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.835e-05/0.1605, allocations: 31.92 kB / 0.717 GB, free: 9.09 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.744e-05/0.1606, allocations: 35.84 kB / 0.7171 GB, free: 9.055 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.1606, allocations: 4 kB / 0.7171 GB, free: 9.051 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004973/0.1611, allocations: 323.3 kB / 0.7174 GB, free: 8.734 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.163e-05/0.1611, allocations: 7.984 kB / 0.7174 GB, free: 8.727 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 9.885e-05/0.1612, allocations: 31.84 kB / 0.7174 GB, free: 8.695 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003573/0.1616, allocations: 207.7 kB / 0.7176 GB, free: 8.492 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1616, allocations: 0 / 0.7176 GB, free: 8.492 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.853e-06/0.1616, allocations: 0 / 0.7176 GB, free: 8.492 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.1616, allocations: 0 / 0.7176 GB, free: 8.492 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007447/0.1624, allocations: 410.9 kB / 0.718 GB, free: 8.043 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.1624, allocations: 8.031 kB / 0.718 GB, free: 8.035 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.999e-05/0.1624, allocations: 8.172 kB / 0.718 GB, free: 8.027 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.785e-05/0.1624, allocations: 34.75 kB / 0.7181 GB, free: 7.984 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005006/0.163, allocations: 76.8 kB / 0.7181 GB, free: 7.91 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.1631, allocations: 168.3 kB / 0.7183 GB, free: 7.707 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.715e-05/0.1631, allocations: 4.375 kB / 0.7183 GB, free: 7.703 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.016e-05/0.1632, allocations: 8.375 kB / 0.7183 GB, free: 7.695 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003987/0.1636, allocations: 113.5 kB / 0.7184 GB, free: 7.578 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.1636, allocations: 0 / 0.7184 GB, free: 7.578 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.84e-05/0.1636, allocations: 7.984 kB / 0.7184 GB, free: 7.57 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.1636, allocations: 4 kB / 0.7184 GB, free: 7.566 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005206/0.1641, allocations: 99.91 kB / 0.7185 GB, free: 7.469 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006126/0.1647, allocations: 336.6 kB / 0.7188 GB, free: 7.09 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007057/0.1654, allocations: 146.5 kB / 0.719 GB, free: 6.938 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002592/0.1657, allocations: 60.8 kB / 0.719 GB, free: 6.875 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.1657, allocations: 3.984 kB / 0.719 GB, free: 6.871 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/0.1657, allocations: 34.56 kB / 0.7191 GB, free: 6.828 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.1657, allocations: 0 / 0.7191 GB, free: 6.828 MB / 0.5294 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.01914/0.1849, allocations: 2.843 MB / 0.7219 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.281e-05/0.1849, allocations: 55.41 kB / 0.7219 GB, free: 3.824 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.185, allocations: 105.8 kB / 0.722 GB, free: 3.711 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.733e-05/0.1851, allocations: 25.7 kB / 0.722 GB, free: 3.68 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.691e-05/0.1852, allocations: 92.03 kB / 0.7221 GB, free: 3.586 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 8.972e-05/0.1853, allocations: 39.78 kB / 0.7222 GB, free: 3.547 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002012/0.1855, allocations: 69.52 kB / 0.7222 GB, free: 3.473 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001626/0.1856, allocations: 314.8 kB / 0.7225 GB, free: 3.156 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007355/0.1864, allocations: 195.8 kB / 0.7227 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007306/0.1871, allocations: 191.8 kB / 0.7229 GB, free: 2.777 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001442/0.1885, allocations: 395.8 kB / 0.7233 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1885, allocations: 4 kB / 0.7233 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001678/0.1902, allocations: 477.1 kB / 0.7237 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.1902, allocations: 4 kB / 0.7237 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.1902, allocations: 0 / 0.7237 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.1903, allocations: 3.938 kB / 0.7237 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008877/0.1911, allocations: 111.8 kB / 0.7238 GB, free: 1.797 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.1912, allocations: 0 / 0.7238 GB, free: 1.797 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006241/0.1918, allocations: 43.94 kB / 0.7239 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.453e-05/0.1918, allocations: 27.92 kB / 0.7239 GB, free: 1.727 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 (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.0001841/0.192, allocations: 121.8 kB / 0.724 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.547e-05/0.1921, allocations: 11.95 kB / 0.724 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.933e-05/0.1922, allocations: 7.969 kB / 0.724 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.1922, allocations: 3.938 kB / 0.7241 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.1922, allocations: 4 kB / 0.7241 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.1922, allocations: 0 / 0.7241 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002471/0.1947, allocations: 1.043 MB / 0.7251 GB, free: 420 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.1947, allocations: 3.938 kB / 0.7251 GB, free: 416 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008573/0.1955, allocations: 107.7 kB / 0.7252 GB, free: 308 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.1955, allocations: 0 / 0.7252 GB, free: 308 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-05/0.1956, allocations: 31.92 kB / 0.7252 GB, free: 276 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.1956, allocations: 0 / 0.7252 GB, free: 276 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1956, allocations: 0 / 0.7252 GB, free: 276 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002596/0.1982, allocations: 0.7918 MB / 0.726 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001592/0.1984, allocations: 120.9 kB / 0.7261 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.444e-05/0.1984, allocations: 4 kB / 0.7261 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007045/0.1991, allocations: 44 kB / 0.7261 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/0.1993, allocations: 31.92 kB / 0.7262 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.343e-05/0.1993, allocations: 27.88 kB / 0.7262 GB, free: 15.22 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.864e-05/0.1994, allocations: 75.28 kB / 0.7263 GB, free: 15.14 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1994, allocations: 4 kB / 0.7263 GB, free: 15.14 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004076/0.1998, allocations: 59.92 kB / 0.7263 GB, free: 15.08 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.003011/0.2028, allocations: 1.341 MB / 0.7276 GB, free: 13.71 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001588/0.2044, allocations: 415.5 kB / 0.728 GB, free: 13.31 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/0.2044, allocations: 4 kB / 0.728 GB, free: 13.3 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007898/0.2052, allocations: 227.7 kB / 0.7283 GB, free: 13.08 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004594/0.2056, allocations: 12.27 kB / 0.7283 GB, free: 13.07 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009644/0.2153, allocations: 2.958 MB / 0.7312 GB, free: 10.03 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004222/0.2157, allocations: 0.6924 MB / 0.7318 GB, free: 9.312 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004998/0.2162, allocations: 92.75 kB / 0.7319 GB, free: 9.223 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003164/0.2165, allocations: 67.3 kB / 0.732 GB, free: 9.156 MB / 0.545 GB Notification: Performance of SimCode: time 1.222e-06/0.2165, allocations: 0 / 0.732 GB, free: 9.156 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02536/0.2419, allocations: 4.648 MB / 0.7365 GB, free: 4.688 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.355/8.596, allocations: 12.53 kB / 0.7365 GB, free: 4.676 MB / 0.545 GB " [Timeout remaining time 651] (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: 12.581528513983358] Failed to read output from testmodel.py, exit status != 0: 8.723883518017828 8.747693852 8.581328019 Calling exit ...