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.001721/0.001721, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001612/0.001612, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.459/1.459, allocations: 230.6 MB / 256 MB, free: 7.969 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.9057/0.9057, allocations: 145 MB / 457.4 MB, free: 15.51 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.003231/0.003231, allocations: 70.36 kB / 0.6332 GB, free: 7.234 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2133/0.2166, allocations: 87.89 MB / 0.719 GB, free: 15.36 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002075/0.2186, allocations: 0.7844 MB / 0.7198 GB, free: 14.57 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002158/0.2208, allocations: 1.549 MB / 0.7213 GB, free: 13 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.117e-05/0.2208, allocations: 0 / 0.7213 GB, free: 13 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.704e-05/0.2209, allocations: 3.938 kB / 0.7213 GB, free: 13 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.626e-05/0.2209, allocations: 3.938 kB / 0.7213 GB, free: 12.99 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005135/0.2214, allocations: 147.4 kB / 0.7215 GB, free: 12.85 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.834e-05/0.2215, allocations: 51.66 kB / 0.7215 GB, free: 12.8 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.621e-05/0.2216, allocations: 11.97 kB / 0.7215 GB, free: 12.79 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.206e-05/0.2217, allocations: 27.92 kB / 0.7216 GB, free: 12.76 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.442e-05/0.2217, allocations: 27.91 kB / 0.7216 GB, free: 12.73 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.952e-05/0.2217, allocations: 4 kB / 0.7216 GB, free: 12.73 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004722/0.2222, allocations: 319.3 kB / 0.7219 GB, free: 12.41 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.71e-05/0.2222, allocations: 19.92 kB / 0.7219 GB, free: 12.39 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.803e-05/0.2223, allocations: 35.84 kB / 0.7219 GB, free: 12.36 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003119/0.2226, allocations: 203.4 kB / 0.7221 GB, free: 12.16 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.2226, allocations: 0 / 0.7221 GB, free: 12.16 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.754e-06/0.2226, allocations: 0 / 0.7221 GB, free: 12.16 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.026e-05/0.2226, allocations: 0 / 0.7221 GB, free: 12.16 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.0006377/0.2232, allocations: 337.7 kB / 0.7225 GB, free: 11.8 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.2233, allocations: 8.031 kB / 0.7225 GB, free: 11.79 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.969e-05/0.2233, allocations: 38.75 kB / 0.7225 GB, free: 11.75 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000522/0.2238, allocations: 72.8 kB / 0.7226 GB, free: 11.68 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.224, allocations: 114.5 kB / 0.7227 GB, free: 11.54 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.557e-05/0.224, allocations: 4.375 kB / 0.7227 GB, free: 11.54 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.476e-05/0.224, allocations: 4.375 kB / 0.7227 GB, free: 11.53 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003629/0.2244, allocations: 120.5 kB / 0.7228 GB, free: 11.41 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.2244, allocations: 3.984 kB / 0.7228 GB, free: 11.41 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.2244, allocations: 4 kB / 0.7228 GB, free: 11.4 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.2244, allocations: 0 / 0.7228 GB, free: 11.4 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004522/0.2249, allocations: 99.91 kB / 0.7229 GB, free: 11.3 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006095/0.2255, allocations: 307.7 kB / 0.7232 GB, free: 10.96 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006218/0.2261, allocations: 150.4 kB / 0.7234 GB, free: 10.8 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002272/0.2263, allocations: 56.75 kB / 0.7234 GB, free: 10.75 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.729e-05/0.2263, allocations: 4 kB / 0.7234 GB, free: 10.74 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/0.2264, allocations: 34.55 kB / 0.7234 GB, free: 10.7 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/0.2264, allocations: 4 kB / 0.7234 GB, free: 10.7 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.01802/0.2444, allocations: 2.693 MB / 0.7261 GB, free: 7.945 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.997e-05/0.2444, allocations: 55.34 kB / 0.7261 GB, free: 7.879 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.906e-05/0.2445, allocations: 97.86 kB / 0.7262 GB, free: 7.773 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.216e-05/0.2446, allocations: 29.7 kB / 0.7263 GB, free: 7.738 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.764e-05/0.2446, allocations: 92.08 kB / 0.7263 GB, free: 7.645 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.138e-05/0.2447, allocations: 39.62 kB / 0.7264 GB, free: 7.605 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000165/0.2449, allocations: 77.56 kB / 0.7265 GB, free: 7.523 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.245, allocations: 318.8 kB / 0.7268 GB, free: 7.203 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006373/0.2457, allocations: 187.8 kB / 0.7269 GB, free: 7.02 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006289/0.2463, allocations: 187.8 kB / 0.7271 GB, free: 6.836 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001277/0.2476, allocations: 396.7 kB / 0.7275 GB, free: 6.445 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.2476, allocations: 0 / 0.7275 GB, free: 6.445 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001508/0.2491, allocations: 483.6 kB / 0.728 GB, free: 5.969 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.853e-05/0.2491, allocations: 12 kB / 0.728 GB, free: 5.957 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.2491, allocations: 0 / 0.728 GB, free: 5.957 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.2491, allocations: 0 / 0.728 GB, free: 5.957 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008123/0.2499, allocations: 103.7 kB / 0.7281 GB, free: 5.855 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.2499, allocations: 8 kB / 0.7281 GB, free: 5.848 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005941/0.2505, allocations: 39.94 kB / 0.7281 GB, free: 5.809 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.569e-05/0.2506, allocations: 31.88 kB / 0.7281 GB, free: 5.777 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.0001669/0.2508, allocations: 121.8 kB / 0.7283 GB, free: 5.648 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.692e-05/0.2508, allocations: 7.938 kB / 0.7283 GB, free: 5.641 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.892e-05/0.2509, allocations: 16.06 kB / 0.7283 GB, free: 5.621 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.2509, allocations: 3.938 kB / 0.7283 GB, free: 5.617 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.2509, allocations: 0 / 0.7283 GB, free: 5.617 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.2509, allocations: 0 / 0.7283 GB, free: 5.617 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002286/0.2532, allocations: 1.007 MB / 0.7293 GB, free: 4.508 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.2532, allocations: 3.984 kB / 0.7293 GB, free: 4.504 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008057/0.254, allocations: 111.7 kB / 0.7294 GB, free: 4.395 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.254, allocations: 0 / 0.7294 GB, free: 4.395 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.885e-05/0.2541, allocations: 23.94 kB / 0.7294 GB, free: 4.371 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.2541, allocations: 7.938 kB / 0.7294 GB, free: 4.363 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.2541, allocations: 0 / 0.7294 GB, free: 4.363 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002425/0.2565, allocations: 0.788 MB / 0.7302 GB, free: 3.559 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000148/0.2566, allocations: 47.77 kB / 0.7302 GB, free: 3.512 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.175e-05/0.2567, allocations: 0 / 0.7302 GB, free: 3.512 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006623/0.2574, allocations: 52 kB / 0.7303 GB, free: 3.461 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.433e-05/0.2574, allocations: 27.92 kB / 0.7303 GB, free: 3.434 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.282e-05/0.2575, allocations: 23.92 kB / 0.7303 GB, free: 3.41 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.336e-05/0.2576, allocations: 87.45 kB / 0.7304 GB, free: 3.324 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2576, allocations: 0 / 0.7304 GB, free: 3.324 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003655/0.2579, allocations: 48 kB / 0.7304 GB, free: 3.277 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.002675/0.2606, allocations: 1.348 MB / 0.7318 GB, free: 1.902 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001415/0.262, allocations: 427.5 kB / 0.7322 GB, free: 1.484 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.262, allocations: 0 / 0.7322 GB, free: 1.484 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0006912/0.2627, allocations: 223.6 kB / 0.7324 GB, free: 1.266 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003549/0.2631, allocations: 8.656 kB / 0.7324 GB, free: 1.258 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008544/0.2716, allocations: 2.95 MB / 0.7353 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003481/0.272, allocations: 0.6931 MB / 0.736 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004846/0.2724, allocations: 88.67 kB / 0.736 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002834/0.2727, allocations: 63.3 kB / 0.7361 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of SimCode: time 7.71e-07/0.2727, allocations: 0 / 0.7361 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04519/0.3179, allocations: 4.799 MB / 0.7408 GB, free: 8.688 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.25, allocations: 0 / 0.7408 GB, free: 8.688 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 & 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.375501736998558] Failed to read output from testmodel.py, exit status != 0: 11.35650797499693 11.70685897 11.480832326 Calling exit ...