Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.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.001335/0.001335, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001527/0.001527, allocations: 219.2 kB / 23.04 MB, free: 5.078 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.533/1.533, allocations: 230.6 MB / 256.8 MB, free: 8 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.9523/0.9523, allocations: 145 MB / 458.2 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.InverseXRegularized,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXRegularized",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.001947/0.001947, allocations: 72.45 kB / 0.634 GB, free: 7.246 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1805/0.1824, allocations: 87.88 MB / 0.7198 GB, free: 15.37 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001708/0.1842, allocations: 0.6351 MB / 0.7204 GB, free: 14.73 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002007/0.1862, allocations: 1.521 MB / 0.7219 GB, free: 13.2 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.408e-05/0.1862, allocations: 0 / 0.7219 GB, free: 13.2 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.597e-05/0.1862, allocations: 0 / 0.7219 GB, free: 13.2 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.093e-05/0.1863, allocations: 15.92 kB / 0.7219 GB, free: 13.18 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004033/0.1867, allocations: 119.5 kB / 0.722 GB, free: 13.06 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.654e-05/0.1868, allocations: 27.92 kB / 0.7221 GB, free: 13.04 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.565e-05/0.1868, allocations: 7.984 kB / 0.7221 GB, free: 13.03 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.485e-05/0.1868, allocations: 11.92 kB / 0.7221 GB, free: 13.02 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.731e-05/0.1869, allocations: 23.92 kB / 0.7221 GB, free: 12.99 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.189e-05/0.1869, allocations: 0 / 0.7221 GB, free: 12.99 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004868/0.1874, allocations: 323.4 kB / 0.7224 GB, free: 12.68 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.709e-05/0.1874, allocations: 7.922 kB / 0.7224 GB, free: 12.67 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.06e-05/0.1875, allocations: 15.88 kB / 0.7224 GB, free: 12.65 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002998/0.1877, allocations: 183.5 kB / 0.7226 GB, free: 12.47 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1878, allocations: 4 kB / 0.7226 GB, free: 12.47 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.082e-06/0.1878, allocations: 0 / 0.7226 GB, free: 12.47 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.1878, allocations: 0 / 0.7226 GB, free: 12.47 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005141/0.1883, allocations: 309.8 kB / 0.7229 GB, free: 12.14 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.1883, allocations: 8.031 kB / 0.7229 GB, free: 12.13 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.668e-05/0.1883, allocations: 4.188 kB / 0.7229 GB, free: 12.12 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.94e-05/0.1884, allocations: 34.75 kB / 0.723 GB, free: 12.08 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003705/0.1887, allocations: 60.81 kB / 0.723 GB, free: 12.02 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/0.1889, allocations: 114.5 kB / 0.7231 GB, free: 11.89 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.1889, allocations: 384 / 0.7231 GB, free: 11.89 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.42e-05/0.1889, allocations: 4.375 kB / 0.7231 GB, free: 11.88 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002761/0.1892, allocations: 77.58 kB / 0.7232 GB, free: 11.8 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.1892, allocations: 3.953 kB / 0.7232 GB, free: 11.8 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.1892, allocations: 4 kB / 0.7232 GB, free: 11.79 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.227e-06/0.1892, allocations: 0 / 0.7232 GB, free: 11.79 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003765/0.1896, allocations: 71.86 kB / 0.7233 GB, free: 11.72 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001948/0.1898, allocations: 140.8 kB / 0.7234 GB, free: 11.54 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005589/0.1903, allocations: 122.5 kB / 0.7235 GB, free: 11.41 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001874/0.1905, allocations: 40.94 kB / 0.7236 GB, free: 11.37 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.302e-05/0.1906, allocations: 15.86 kB / 0.7236 GB, free: 11.36 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.1906, allocations: 30.56 kB / 0.7236 GB, free: 11.32 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.1906, allocations: 4 kB / 0.7236 GB, free: 11.31 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=9): time 0.00421/0.1948, allocations: 0.7862 MB / 0.7244 GB, free: 10.52 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.983e-05/0.1948, allocations: 51.41 kB / 0.7244 GB, free: 10.46 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.195, allocations: 109.8 kB / 0.7245 GB, free: 10.34 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.025e-05/0.195, allocations: 29.7 kB / 0.7246 GB, free: 10.3 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.828e-05/0.1951, allocations: 84.14 kB / 0.7247 GB, free: 10.22 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.789e-05/0.1951, allocations: 31.73 kB / 0.7247 GB, free: 10.19 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.443e-05/0.1952, allocations: 33.7 kB / 0.7247 GB, free: 10.15 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.1953, allocations: 310.8 kB / 0.725 GB, free: 9.836 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000443/0.1958, allocations: 99.83 kB / 0.7251 GB, free: 9.738 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004252/0.1962, allocations: 95.91 kB / 0.7252 GB, free: 9.645 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008428/0.197, allocations: 200.6 kB / 0.7254 GB, free: 9.445 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.197, allocations: 4.125 kB / 0.7254 GB, free: 9.441 MB / 0.545 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009541/0.198, allocations: 241.7 kB / 0.7256 GB, free: 9.199 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.198, allocations: 8 kB / 0.7256 GB, free: 9.191 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.198, allocations: 4.094 kB / 0.7256 GB, free: 9.188 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.198, allocations: 7.938 kB / 0.7256 GB, free: 9.18 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003214/0.1984, allocations: 55.92 kB / 0.7257 GB, free: 9.125 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.1984, allocations: 0 / 0.7257 GB, free: 9.125 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000232/0.1986, allocations: 35.95 kB / 0.7257 GB, free: 9.09 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.558e-05/0.1986, allocations: 4 kB / 0.7257 GB, free: 9.086 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 (9): * Single equations (assignments): 9 * 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.0001059/0.1987, allocations: 121.7 kB / 0.7258 GB, free: 8.957 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.095e-05/0.1987, allocations: 3.953 kB / 0.7259 GB, free: 8.953 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.592e-05/0.1988, allocations: 20.36 kB / 0.7259 GB, free: 8.93 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.1988, allocations: 0 / 0.7259 GB, free: 8.93 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1988, allocations: 0 / 0.7259 GB, free: 8.93 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1988, allocations: 0 / 0.7259 GB, free: 8.93 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001743/0.2005, allocations: 0.5731 MB / 0.7264 GB, free: 8.301 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.2005, allocations: 0 / 0.7264 GB, free: 8.301 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002604/0.2008, allocations: 51.88 kB / 0.7265 GB, free: 8.25 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.2008, allocations: 4 kB / 0.7265 GB, free: 8.246 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.2008, allocations: 4.062 kB / 0.7265 GB, free: 8.242 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.059e-06/0.2008, allocations: 4 kB / 0.7265 GB, free: 8.238 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.135e-06/0.2008, allocations: 3.938 kB / 0.7265 GB, free: 8.234 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009784/0.2018, allocations: 341 kB / 0.7268 GB, free: 7.879 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.669e-05/0.2018, allocations: 7.938 kB / 0.7268 GB, free: 7.871 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.594e-05/0.2019, allocations: 4 kB / 0.7268 GB, free: 7.867 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002582/0.2021, allocations: 39.95 kB / 0.7269 GB, free: 7.828 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.805e-05/0.2022, allocations: 11.92 kB / 0.7269 GB, free: 7.816 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/0.2022, allocations: 4 kB / 0.7269 GB, free: 7.812 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.563e-05/0.2022, allocations: 91.66 kB / 0.727 GB, free: 7.723 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2022, allocations: 0 / 0.727 GB, free: 7.723 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003143/0.2026, allocations: 39.88 kB / 0.727 GB, free: 7.684 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (9): * Single equations (assignments): 9 * 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.00139/0.2039, allocations: 0.9014 MB / 0.7279 GB, free: 6.75 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0009429/0.2049, allocations: 215.9 kB / 0.7281 GB, free: 6.539 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2049, allocations: 0 / 0.7281 GB, free: 6.539 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004675/0.2054, allocations: 107.9 kB / 0.7282 GB, free: 6.434 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002471/0.2056, allocations: 14.38 kB / 0.7282 GB, free: 6.422 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004832/0.2104, allocations: 2.138 MB / 0.7303 GB, free: 4.195 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003276/0.2108, allocations: 0.6885 MB / 0.731 GB, free: 3.48 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001118/0.2109, allocations: 20.66 kB / 0.731 GB, free: 3.457 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.541e-05/0.211, allocations: 23.42 kB / 0.731 GB, free: 3.434 MB / 0.545 GB Notification: Performance of SimCode: time 9.01e-07/0.211, allocations: 0 / 0.731 GB, free: 3.434 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02334/0.2343, allocations: 2.949 MB / 0.7339 GB, free: 0.6367 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/11.08, allocations: 7.547 kB / 0.7339 GB, free: 0.6328 MB / 0.545 GB " [Timeout remaining time 649] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.946942268987186] Failed to read output from testmodel.py, exit status != 0: 11.241020363988355 11.265010083 11.07306022 Calling exit ...