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.001489/0.001489, allocations: 106.1 kB / 16.46 MB, free: 6.512 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.001385/0.001385, allocations: 208.3 kB / 19.43 MB, free: 3.648 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.48/1.48, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.903/0.903, allocations: 145 MB / 453.8 MB, free: 0.6836 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="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.00197/0.00197, allocations: 66.66 kB / 0.6281 GB, free: 10.56 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1762/0.1781, allocations: 87.83 MB / 0.7138 GB, free: 2.73 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002239/0.1804, allocations: 0.7828 MB / 0.7146 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002085/0.1825, allocations: 1.537 MB / 0.7161 GB, free: 400 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.907e-05/0.1825, allocations: 0 / 0.7161 GB, free: 400 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.033e-05/0.1825, allocations: 3.938 kB / 0.7161 GB, free: 396 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.445e-05/0.1826, allocations: 7.938 kB / 0.7161 GB, free: 388 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005212/0.1831, allocations: 147.4 kB / 0.7163 GB, free: 240 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.875e-05/0.1832, allocations: 59.58 kB / 0.7163 GB, free: 180 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.368e-05/0.1832, allocations: 4 kB / 0.7163 GB, free: 176 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.024e-05/0.1833, allocations: 31.92 kB / 0.7164 GB, free: 144 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.917e-05/0.1834, allocations: 31.89 kB / 0.7164 GB, free: 112 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.741e-05/0.1834, allocations: 4 kB / 0.7164 GB, free: 108 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004713/0.1839, allocations: 319.3 kB / 0.7167 GB, free: 15.79 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.295e-05/0.1839, allocations: 15.92 kB / 0.7167 GB, free: 15.78 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.541e-05/0.1839, allocations: 23.86 kB / 0.7167 GB, free: 15.75 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003275/0.1843, allocations: 211.4 kB / 0.7169 GB, free: 15.55 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1843, allocations: 3.984 kB / 0.7169 GB, free: 15.54 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1843, allocations: 0 / 0.7169 GB, free: 15.54 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.1843, allocations: 0 / 0.7169 GB, free: 15.54 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.0007222/0.185, allocations: 414.9 kB / 0.7173 GB, free: 15.09 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.185, allocations: 12.03 kB / 0.7173 GB, free: 15.08 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.019e-05/0.1851, allocations: 30.75 kB / 0.7174 GB, free: 15.04 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004557/0.1855, allocations: 76.8 kB / 0.7174 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/0.1857, allocations: 168.4 kB / 0.7176 GB, free: 14.76 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.404e-05/0.1857, allocations: 4.375 kB / 0.7176 GB, free: 14.76 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.913e-05/0.1857, allocations: 8.375 kB / 0.7176 GB, free: 14.75 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004118/0.1861, allocations: 119.9 kB / 0.7177 GB, free: 14.63 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.1862, allocations: 0 / 0.7177 GB, free: 14.63 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/0.1862, allocations: 4 kB / 0.7177 GB, free: 14.62 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.1862, allocations: 4 kB / 0.7177 GB, free: 14.62 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005052/0.1867, allocations: 95.89 kB / 0.7178 GB, free: 14.53 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006213/0.1873, allocations: 332.7 kB / 0.7182 GB, free: 14.15 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006823/0.188, allocations: 158.4 kB / 0.7183 GB, free: 13.99 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002494/0.1882, allocations: 56.81 kB / 0.7184 GB, free: 13.93 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.919e-05/0.1883, allocations: 4.141 kB / 0.7184 GB, free: 13.93 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.1883, allocations: 30.56 kB / 0.7184 GB, free: 13.89 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.1883, allocations: 0 / 0.7184 GB, free: 13.89 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.01905/0.2073, allocations: 2.834 MB / 0.7212 GB, free: 10.96 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.029e-05/0.2074, allocations: 59.28 kB / 0.7212 GB, free: 10.89 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.397e-05/0.2075, allocations: 101.8 kB / 0.7213 GB, free: 10.78 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.741e-05/0.2075, allocations: 33.7 kB / 0.7213 GB, free: 10.74 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.347e-05/0.2076, allocations: 84.09 kB / 0.7214 GB, free: 10.65 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.965e-05/0.2077, allocations: 39.69 kB / 0.7215 GB, free: 10.61 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002009/0.2079, allocations: 69.67 kB / 0.7215 GB, free: 10.54 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.208, allocations: 322.8 kB / 0.7218 GB, free: 10.21 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007347/0.2088, allocations: 195.8 kB / 0.722 GB, free: 10.02 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006985/0.2095, allocations: 183.8 kB / 0.7222 GB, free: 9.844 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001408/0.2109, allocations: 391.5 kB / 0.7226 GB, free: 9.461 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.2109, allocations: 4 kB / 0.7226 GB, free: 9.457 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001664/0.2125, allocations: 481.1 kB / 0.723 GB, free: 8.98 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.338e-05/0.2126, allocations: 8 kB / 0.723 GB, free: 8.973 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.2126, allocations: 0 / 0.723 GB, free: 8.973 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.2126, allocations: 0 / 0.723 GB, free: 8.973 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008602/0.2134, allocations: 119.7 kB / 0.7232 GB, free: 8.855 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.343e-06/0.2135, allocations: 0 / 0.7232 GB, free: 8.855 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006209/0.2141, allocations: 43.94 kB / 0.7232 GB, free: 8.812 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.994e-05/0.2141, allocations: 28.89 kB / 0.7232 GB, free: 8.785 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.0001729/0.2143, allocations: 113.8 kB / 0.7233 GB, free: 8.664 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.763e-05/0.2144, allocations: 7.953 kB / 0.7233 GB, free: 8.656 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.907e-05/0.2145, allocations: 19.95 kB / 0.7234 GB, free: 8.637 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.2145, allocations: 3.938 kB / 0.7234 GB, free: 8.633 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.2145, allocations: 3.938 kB / 0.7234 GB, free: 8.629 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.2145, allocations: 192 / 0.7234 GB, free: 8.629 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002387/0.2169, allocations: 1.043 MB / 0.7244 GB, free: 7.477 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.2169, allocations: 3.984 kB / 0.7244 GB, free: 7.473 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008348/0.2177, allocations: 107.7 kB / 0.7245 GB, free: 7.367 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.077e-06/0.2177, allocations: 3.984 kB / 0.7245 GB, free: 7.363 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.046e-05/0.2178, allocations: 27.88 kB / 0.7245 GB, free: 7.336 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.2178, allocations: 7.938 kB / 0.7245 GB, free: 7.328 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.2178, allocations: 0 / 0.7245 GB, free: 7.328 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002503/0.2203, allocations: 0.7801 MB / 0.7253 GB, free: 6.531 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000185/0.2205, allocations: 124.9 kB / 0.7254 GB, free: 6.391 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.344e-05/0.2205, allocations: 4 kB / 0.7254 GB, free: 6.387 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006858/0.2212, allocations: 48 kB / 0.7255 GB, free: 6.34 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.2213, allocations: 27.92 kB / 0.7255 GB, free: 6.312 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.948e-05/0.2214, allocations: 23.94 kB / 0.7255 GB, free: 6.289 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.357e-05/0.2214, allocations: 83.27 kB / 0.7256 GB, free: 6.207 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2214, allocations: 0 / 0.7256 GB, free: 6.207 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003957/0.2218, allocations: 59.94 kB / 0.7256 GB, free: 6.148 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.002927/0.2247, allocations: 1.341 MB / 0.727 GB, free: 4.781 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001556/0.2263, allocations: 415.5 kB / 0.7274 GB, free: 4.375 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.2263, allocations: 0 / 0.7274 GB, free: 4.375 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007617/0.2271, allocations: 223.7 kB / 0.7276 GB, free: 4.156 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003863/0.2275, allocations: 17.23 kB / 0.7276 GB, free: 4.141 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00918/0.2366, allocations: 2.952 MB / 0.7305 GB, free: 1.109 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003149/0.237, allocations: 0.6885 MB / 0.7311 GB, free: 404 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005035/0.2375, allocations: 92.66 kB / 0.7312 GB, free: 308 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002935/0.2377, allocations: 67.23 kB / 0.7313 GB, free: 244 kB / 0.545 GB Notification: Performance of SimCode: time 1.152e-06/0.2377, allocations: 4 kB / 0.7313 GB, free: 240 kB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02883/0.2666, allocations: 4.601 MB / 0.7358 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.035/8.302, allocations: 18.97 kB / 0.7358 GB, free: 11.77 MB / 0.5606 GB " [Timeout remaining time 652] (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: 12.398570721008582] Failed to read output from testmodel.py, exit status != 0: 8.371076928990078 8.713881702 8.19788548 Calling exit ...