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.0013/0.0013, 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.001596/0.001596, allocations: 211.8 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.474/1.474, allocations: 230.6 MB / 256 MB, free: 7.785 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.9457/0.9457, 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: "" <> 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.002199/0.002199, allocations: 65.88 kB / 0.6331 GB, free: 6.641 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1948/0.197, allocations: 87.89 MB / 0.719 GB, free: 14.77 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002359/0.1994, allocations: 0.7728 MB / 0.7197 GB, free: 14 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002329/0.2017, allocations: 1.455 MB / 0.7212 GB, free: 12.52 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.679e-05/0.2018, allocations: 0 / 0.7212 GB, free: 12.52 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.539e-05/0.2018, allocations: 3.938 kB / 0.7212 GB, free: 12.52 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.747e-05/0.2018, allocations: 3.938 kB / 0.7212 GB, free: 12.52 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006246/0.2025, allocations: 151.4 kB / 0.7213 GB, free: 12.37 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001086/0.2026, allocations: 55.69 kB / 0.7214 GB, free: 12.31 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.849e-05/0.2026, allocations: 0 / 0.7214 GB, free: 12.31 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.406e-05/0.2027, allocations: 27.92 kB / 0.7214 GB, free: 12.29 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.251e-05/0.2028, allocations: 35.83 kB / 0.7214 GB, free: 12.25 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.971e-05/0.2028, allocations: 4 kB / 0.7214 GB, free: 12.25 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004298/0.2032, allocations: 243.5 kB / 0.7217 GB, free: 12.01 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.436e-05/0.2032, allocations: 11.97 kB / 0.7217 GB, free: 12 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.896e-05/0.2033, allocations: 31.86 kB / 0.7217 GB, free: 11.96 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003538/0.2036, allocations: 207.3 kB / 0.7219 GB, free: 11.76 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.2036, allocations: 0 / 0.7219 GB, free: 11.76 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.763e-06/0.2036, allocations: 0 / 0.7219 GB, free: 11.76 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.181e-06/0.2037, allocations: 0 / 0.7219 GB, free: 11.76 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.0006985/0.2044, allocations: 329.8 kB / 0.7222 GB, free: 11.41 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.2044, allocations: 8.031 kB / 0.7222 GB, free: 11.4 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.561e-05/0.2044, allocations: 38.75 kB / 0.7223 GB, free: 11.36 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004492/0.2049, allocations: 72.8 kB / 0.7223 GB, free: 11.29 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.205, allocations: 110.5 kB / 0.7224 GB, free: 11.15 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.917e-05/0.205, allocations: 12.38 kB / 0.7224 GB, free: 11.14 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.551e-05/0.2051, allocations: 8.359 kB / 0.7224 GB, free: 11.13 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004014/0.2055, allocations: 165.1 kB / 0.7226 GB, free: 10.95 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.2055, allocations: 0 / 0.7226 GB, free: 10.95 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.2055, allocations: 0 / 0.7226 GB, free: 10.95 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.2055, allocations: 4 kB / 0.7226 GB, free: 10.95 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004612/0.206, allocations: 103.9 kB / 0.7227 GB, free: 10.85 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005863/0.2065, allocations: 287.8 kB / 0.723 GB, free: 10.52 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006444/0.2072, allocations: 154.4 kB / 0.7231 GB, free: 10.36 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002326/0.2074, allocations: 56.81 kB / 0.7232 GB, free: 10.3 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.216e-05/0.2074, allocations: 0 / 0.7232 GB, free: 10.3 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.557e-05/0.2075, allocations: 34.56 kB / 0.7232 GB, free: 10.26 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 8.62e-07/0.2075, allocations: 3.938 kB / 0.7232 GB, free: 10.26 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.0175/0.225, allocations: 2.682 MB / 0.7258 GB, free: 7.52 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.178e-05/0.225, allocations: 59.34 kB / 0.7259 GB, free: 7.449 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.2251, allocations: 105.8 kB / 0.726 GB, free: 7.336 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.935e-05/0.2252, allocations: 25.7 kB / 0.726 GB, free: 7.305 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.493e-05/0.2253, allocations: 96.03 kB / 0.7261 GB, free: 7.207 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.574e-05/0.2253, allocations: 39.78 kB / 0.7261 GB, free: 7.168 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001866/0.2255, allocations: 73.52 kB / 0.7262 GB, free: 7.09 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.2257, allocations: 318.8 kB / 0.7265 GB, free: 6.77 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006842/0.2264, allocations: 191.8 kB / 0.7267 GB, free: 6.582 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006493/0.227, allocations: 183.8 kB / 0.7269 GB, free: 6.402 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001392/0.2284, allocations: 407.5 kB / 0.7273 GB, free: 6.004 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2284, allocations: 4 kB / 0.7273 GB, free: 6 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001537/0.23, allocations: 465.2 kB / 0.7277 GB, free: 5.539 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/0.23, allocations: 8 kB / 0.7277 GB, free: 5.531 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.23, allocations: 7.938 kB / 0.7277 GB, free: 5.523 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.23, allocations: 192 / 0.7277 GB, free: 5.523 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008092/0.2308, allocations: 115.7 kB / 0.7278 GB, free: 5.41 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.2308, allocations: 0 / 0.7278 GB, free: 5.41 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005861/0.2314, allocations: 43.94 kB / 0.7279 GB, free: 5.367 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.217e-05/0.2315, allocations: 27.92 kB / 0.7279 GB, free: 5.34 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.0001834/0.2317, allocations: 117.8 kB / 0.728 GB, free: 5.215 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.314e-05/0.2317, allocations: 3.953 kB / 0.728 GB, free: 5.211 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.583e-05/0.2318, allocations: 20.05 kB / 0.728 GB, free: 5.184 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.2318, allocations: 3.938 kB / 0.7281 GB, free: 5.18 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.2318, allocations: 0 / 0.7281 GB, free: 5.18 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.2318, allocations: 0 / 0.7281 GB, free: 5.18 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002386/0.2342, allocations: 0.9876 MB / 0.729 GB, free: 4.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.2342, allocations: 0 / 0.729 GB, free: 4.09 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008018/0.235, allocations: 111.7 kB / 0.7291 GB, free: 3.98 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.235, allocations: 0 / 0.7291 GB, free: 3.98 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.341e-05/0.2351, allocations: 27.92 kB / 0.7291 GB, free: 3.953 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.2351, allocations: 0 / 0.7291 GB, free: 3.953 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.2351, allocations: 4.953 kB / 0.7292 GB, free: 3.949 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002419/0.2375, allocations: 0.7879 MB / 0.7299 GB, free: 3.145 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001712/0.2377, allocations: 47.81 kB / 0.73 GB, free: 3.098 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.247e-05/0.2377, allocations: 0 / 0.73 GB, free: 3.098 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006632/0.2384, allocations: 52 kB / 0.73 GB, free: 3.047 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.245e-05/0.2385, allocations: 27.86 kB / 0.73 GB, free: 3.02 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.553e-05/0.2385, allocations: 27.92 kB / 0.7301 GB, free: 2.992 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.373e-05/0.2386, allocations: 79.28 kB / 0.7301 GB, free: 2.914 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.2386, allocations: 0 / 0.7301 GB, free: 2.914 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003766/0.239, allocations: 51.94 kB / 0.7302 GB, free: 2.863 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.002772/0.2417, allocations: 1.341 MB / 0.7315 GB, free: 1.496 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001463/0.2432, allocations: 423.5 kB / 0.7319 GB, free: 1.082 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.2432, allocations: 0 / 0.7319 GB, free: 1.082 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007381/0.2439, allocations: 223.7 kB / 0.7321 GB, free: 0.8633 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003691/0.2443, allocations: 11.94 kB / 0.7321 GB, free: 0.8516 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00876/0.2531, allocations: 2.943 MB / 0.735 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.957e-05/0.2532, allocations: 84.02 kB / 0.7351 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005182/0.2537, allocations: 88.66 kB / 0.7352 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002807/0.254, allocations: 63.3 kB / 0.7352 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of SimCode: time 1.463e-06/0.254, allocations: 0 / 0.7352 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03723/0.2912, allocations: 5.355 MB / 0.7405 GB, free: 8.367 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.52, allocations: 1.312 kB / 0.7405 GB, free: 8.367 MB / 0.5606 GB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.csv --start-time -1.5 --stop-time 1.5 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0012 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 sys.exit(0), Time elapsed: 15.72983938921243] Failed to read output from testmodel.py, exit status != 0: 11.630132099613547 11.938839769 11.731929012 Calling exit ...