Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.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.001351/0.001351, allocations: 107 kB / 16.45 MB, free: 5.898 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.001393/0.001393, allocations: 213.6 kB / 19.43 MB, free: 3.598 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.414/1.414, 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.8905/0.8905, allocations: 145 MB / 453.8 MB, free: 0.7031 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.Examples.InverseXRegularized,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_InverseXRegularized",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.00198/0.00198, allocations: 65.41 kB / 0.628 GB, free: 10.63 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1865/0.1884, allocations: 87.83 MB / 0.7138 GB, free: 2.812 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized): time 0.003131/0.1916, allocations: 1.45 MB / 0.7152 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001524/0.1931, allocations: 0.8419 MB / 0.716 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.344e-05/0.1931, allocations: 4 kB / 0.716 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.667e-05/0.1932, allocations: 0 / 0.716 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.331e-05/0.1932, allocations: 3.938 kB / 0.7161 GB, free: 500 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004535/0.1937, allocations: 131.5 kB / 0.7162 GB, free: 368 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.084e-05/0.1937, allocations: 31.92 kB / 0.7162 GB, free: 336 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.776e-05/0.1938, allocations: 15.97 kB / 0.7162 GB, free: 320 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.83e-05/0.1939, allocations: 8 kB / 0.7162 GB, free: 312 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.08e-05/0.1939, allocations: 23.91 kB / 0.7163 GB, free: 288 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.194, allocations: 4 kB / 0.7163 GB, free: 284 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004791/0.1944, allocations: 319.3 kB / 0.7166 GB, free: 15.96 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.527e-05/0.1945, allocations: 4 kB / 0.7166 GB, free: 15.96 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.05e-05/0.1945, allocations: 15.92 kB / 0.7166 GB, free: 15.95 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003203/0.1948, allocations: 195.7 kB / 0.7168 GB, free: 15.75 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1948, allocations: 0 / 0.7168 GB, free: 15.75 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1948, allocations: 0 / 0.7168 GB, free: 15.75 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.05e-05/0.1948, allocations: 4 kB / 0.7168 GB, free: 15.75 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005804/0.1954, allocations: 382.9 kB / 0.7171 GB, free: 15.33 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.1954, allocations: 12.03 kB / 0.7171 GB, free: 15.32 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.627e-05/0.1955, allocations: 34.75 kB / 0.7172 GB, free: 15.27 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004671/0.1959, allocations: 64.84 kB / 0.7172 GB, free: 15.21 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000148/0.1961, allocations: 172.3 kB / 0.7174 GB, free: 15 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.182e-05/0.1961, allocations: 384 / 0.7174 GB, free: 15 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.52e-05/0.1961, allocations: 384 / 0.7174 GB, free: 15 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003412/0.1965, allocations: 93.75 kB / 0.7175 GB, free: 14.91 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.1965, allocations: 4 kB / 0.7175 GB, free: 14.9 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.1965, allocations: 0 / 0.7175 GB, free: 14.9 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.1965, allocations: 0 / 0.7175 GB, free: 14.9 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004449/0.1969, allocations: 87.91 kB / 0.7176 GB, free: 14.82 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005705/0.1975, allocations: 308.7 kB / 0.7179 GB, free: 14.46 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004207/0.1979, allocations: 91.3 kB / 0.718 GB, free: 14.37 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002222/0.1982, allocations: 52.88 kB / 0.718 GB, free: 14.31 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.552e-05/0.1982, allocations: 4 kB / 0.718 GB, free: 14.31 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.1982, allocations: 30.56 kB / 0.718 GB, free: 14.27 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.1982, allocations: 0 / 0.718 GB, free: 14.27 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0007801/0.199, allocations: 165.5 kB / 0.7182 GB, free: 14.1 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.199, allocations: 55.53 kB / 0.7183 GB, free: 14.04 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.1991, allocations: 109.8 kB / 0.7184 GB, free: 13.92 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.1991, allocations: 25.7 kB / 0.7184 GB, free: 13.89 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.935e-05/0.1992, allocations: 84.14 kB / 0.7185 GB, free: 13.8 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.089e-05/0.1992, allocations: 7.891 kB / 0.7185 GB, free: 13.79 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.638e-05/0.1993, allocations: 17.7 kB / 0.7185 GB, free: 13.77 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.1994, allocations: 318.8 kB / 0.7188 GB, free: 13.45 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002233/0.1996, allocations: 47.95 kB / 0.7188 GB, free: 13.4 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002118/0.1998, allocations: 43.95 kB / 0.7189 GB, free: 13.36 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004215/0.2003, allocations: 88.83 kB / 0.719 GB, free: 13.27 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2003, allocations: 0 / 0.719 GB, free: 13.27 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004786/0.2007, allocations: 129.5 kB / 0.7191 GB, free: 13.14 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.2008, allocations: 7.938 kB / 0.7191 GB, free: 13.13 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.2008, allocations: 0 / 0.7191 GB, free: 13.13 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.2008, allocations: 4 kB / 0.7191 GB, free: 13.12 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001731/0.201, allocations: 19.97 kB / 0.7191 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.201, allocations: 0 / 0.7191 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001177/0.2011, allocations: 24 kB / 0.7191 GB, free: 13.08 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/0.2011, allocations: 0 / 0.7191 GB, free: 13.08 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 (2): * Single equations (assignments): 2 * 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 9.312e-05/0.2012, allocations: 109.8 kB / 0.7193 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.159e-05/0.2012, allocations: 7.953 kB / 0.7193 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.028e-05/0.2012, allocations: 7.125 kB / 0.7193 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.2012, allocations: 0 / 0.7193 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.2012, allocations: 0 / 0.7193 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.2012, allocations: 4 kB / 0.7193 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002012/0.2014, allocations: 173.6 kB / 0.7194 GB, free: 12.73 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.2014, allocations: 0 / 0.7194 GB, free: 12.73 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001394/0.2016, allocations: 23.97 kB / 0.7195 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.2016, allocations: 0 / 0.7195 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.188e-06/0.2016, allocations: 0 / 0.7195 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.2016, allocations: 256 / 0.7195 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.2016, allocations: 4 kB / 0.7195 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005229/0.2021, allocations: 227.3 kB / 0.7197 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.041e-05/0.2022, allocations: 81.11 kB / 0.7198 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.783e-05/0.2022, allocations: 0 / 0.7198 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001473/0.2023, allocations: 15.97 kB / 0.7198 GB, free: 12.35 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.508e-05/0.2024, allocations: 4 kB / 0.7198 GB, free: 12.34 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/0.2024, allocations: 3.984 kB / 0.7198 GB, free: 12.34 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.23e-05/0.2024, allocations: 87.31 kB / 0.7199 GB, free: 12.25 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.2024, allocations: 0 / 0.7199 GB, free: 12.25 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002598/0.2027, allocations: 15.94 kB / 0.7199 GB, free: 12.24 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.000986/0.2037, allocations: 0.7669 MB / 0.7206 GB, free: 11.44 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005382/0.2042, allocations: 95.94 kB / 0.7207 GB, free: 11.35 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.2042, allocations: 4.062 kB / 0.7207 GB, free: 11.34 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002254/0.2045, allocations: 43.95 kB / 0.7208 GB, free: 11.3 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003344/0.2048, allocations: 14.17 kB / 0.7208 GB, free: 11.29 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007958/0.2056, allocations: 203 kB / 0.721 GB, free: 11.05 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003725/0.206, allocations: 0.6806 MB / 0.7216 GB, free: 10.34 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.409e-05/0.206, allocations: 12 kB / 0.7216 GB, free: 10.33 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.346e-05/0.2061, allocations: 7.438 kB / 0.7217 GB, free: 10.33 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.2061, allocations: 0 / 0.7217 GB, free: 10.33 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02461/0.2307, allocations: 1.706 MB / 0.7233 GB, free: 8.738 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.833/8.064, allocations: 6.641 kB / 0.7233 GB, free: 8.734 MB / 0.545 GB " [Timeout remaining time 652] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_InverseXRegularized.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.679138930994668] Failed to read output from testmodel.py, exit status != 0: 8.13253008099855 8.156855117 7.95730854 Calling exit ...