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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007881/0.007881, allocations: 98.14 kB / 15.73 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001893/0.001893, allocations: 195.7 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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.6.0-master/package.mo): time 0.9691/0.9691, allocations: 143.3 MB / 433.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001851/0.001851, allocations: 68.72 kB / 0.5953 GB, free: 12.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1814/0.1832, allocations: 82.03 MB / 0.6754 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized): time 0.003869/0.1872, allocations: 1.429 MB / 0.6768 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002135/0.1893, allocations: 0.7991 MB / 0.6776 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.801e-05/0.1894, allocations: 0 / 0.6776 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.53e-05/0.1895, allocations: 0 / 0.6776 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.663e-05/0.1896, allocations: 3.938 kB / 0.6776 GB, free: 8.352 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006626/0.1902, allocations: 131.5 kB / 0.6777 GB, free: 8.223 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001076/0.1904, allocations: 35.91 kB / 0.6778 GB, free: 8.188 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001476/0.1905, allocations: 11.98 kB / 0.6778 GB, free: 8.176 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 6.157e-05/0.1906, allocations: 19.92 kB / 0.6778 GB, free: 8.156 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.936e-05/0.1907, allocations: 11.98 kB / 0.6778 GB, free: 8.145 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.037e-05/0.1907, allocations: 7.938 kB / 0.6778 GB, free: 8.137 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008649/0.1916, allocations: 315.3 kB / 0.6781 GB, free: 7.828 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.635e-05/0.1916, allocations: 11.92 kB / 0.6781 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.433e-05/0.1917, allocations: 7.938 kB / 0.6781 GB, free: 7.809 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0005068/0.1922, allocations: 207.7 kB / 0.6783 GB, free: 7.605 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1922, allocations: 4 kB / 0.6783 GB, free: 7.602 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.543e-06/0.1922, allocations: 0 / 0.6783 GB, free: 7.602 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.089e-05/0.1922, allocations: 0 / 0.6783 GB, free: 7.602 MB / 0.5137 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.0007656/0.193, allocations: 379 kB / 0.6787 GB, free: 7.184 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.1931, allocations: 8.031 kB / 0.6787 GB, free: 7.176 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.481e-05/0.1931, allocations: 38.75 kB / 0.6787 GB, free: 7.129 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000707/0.1938, allocations: 64.84 kB / 0.6788 GB, free: 7.066 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001862/0.194, allocations: 168.3 kB / 0.679 GB, free: 6.863 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.719e-05/0.1941, allocations: 384 / 0.679 GB, free: 6.863 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.9e-05/0.1941, allocations: 4.375 kB / 0.679 GB, free: 6.859 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004768/0.1946, allocations: 89.69 kB / 0.6791 GB, free: 6.766 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.1946, allocations: 0 / 0.6791 GB, free: 6.766 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.1947, allocations: 0 / 0.6791 GB, free: 6.766 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.525e-05/0.1947, allocations: 4 kB / 0.6791 GB, free: 6.762 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006605/0.1953, allocations: 87.89 kB / 0.6791 GB, free: 6.676 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007966/0.1962, allocations: 300.9 kB / 0.6794 GB, free: 6.332 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006825/0.1969, allocations: 94.44 kB / 0.6795 GB, free: 6.23 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003338/0.1972, allocations: 56.86 kB / 0.6796 GB, free: 6.172 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.224e-05/0.1972, allocations: 4 kB / 0.6796 GB, free: 6.168 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.908e-05/0.1973, allocations: 30.56 kB / 0.6796 GB, free: 6.129 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.734e-06/0.1973, allocations: 0 / 0.6796 GB, free: 6.129 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.001208/0.1985, allocations: 169.6 kB / 0.6798 GB, free: 5.957 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.418e-05/0.1986, allocations: 51.41 kB / 0.6798 GB, free: 5.895 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.1987, allocations: 102 kB / 0.6799 GB, free: 5.785 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.266e-05/0.1988, allocations: 25.7 kB / 0.6799 GB, free: 5.754 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.825e-05/0.1989, allocations: 96 kB / 0.68 GB, free: 5.656 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.684e-05/0.1989, allocations: 3.953 kB / 0.68 GB, free: 5.652 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.848e-05/0.199, allocations: 13.72 kB / 0.68 GB, free: 5.633 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001972/0.1992, allocations: 322.8 kB / 0.6804 GB, free: 5.309 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000338/0.1996, allocations: 43.95 kB / 0.6804 GB, free: 5.266 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003408/0.1999, allocations: 52 kB / 0.6804 GB, free: 5.215 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006371/0.2006, allocations: 88.83 kB / 0.6805 GB, free: 5.125 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.2006, allocations: 0 / 0.6805 GB, free: 5.125 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0007751/0.2014, allocations: 121.6 kB / 0.6806 GB, free: 5 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/0.2014, allocations: 6.031 kB / 0.6806 GB, free: 4.996 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.2014, allocations: 0 / 0.6806 GB, free: 4.996 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/0.2014, allocations: 7.984 kB / 0.6807 GB, free: 4.988 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002561/0.2017, allocations: 27.89 kB / 0.6807 GB, free: 4.961 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.2017, allocations: 0 / 0.6807 GB, free: 4.961 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001797/0.2019, allocations: 19.97 kB / 0.6807 GB, free: 4.941 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.2019, allocations: 0 / 0.6807 GB, free: 4.941 MB / 0.5137 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 0.00012/0.2021, allocations: 109.8 kB / 0.6808 GB, free: 4.824 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.534e-05/0.2021, allocations: 4 kB / 0.6808 GB, free: 4.82 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.411e-05/0.2022, allocations: 15.11 kB / 0.6808 GB, free: 4.809 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.2022, allocations: 0 / 0.6808 GB, free: 4.809 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.2022, allocations: 0 / 0.6808 GB, free: 4.809 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.2022, allocations: 0 / 0.6808 GB, free: 4.809 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003284/0.2026, allocations: 177.5 kB / 0.681 GB, free: 4.586 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.2026, allocations: 0 / 0.681 GB, free: 4.586 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002029/0.2028, allocations: 23.97 kB / 0.681 GB, free: 4.562 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.2028, allocations: 0 / 0.681 GB, free: 4.562 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.837e-05/0.2028, allocations: 3.984 kB / 0.681 GB, free: 4.559 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.2028, allocations: 4 kB / 0.681 GB, free: 4.555 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.2029, allocations: 0 / 0.681 GB, free: 4.555 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008042/0.2037, allocations: 227.3 kB / 0.6812 GB, free: 4.316 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.751e-05/0.2037, allocations: 81.11 kB / 0.6813 GB, free: 4.219 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.209e-05/0.2038, allocations: 0 / 0.6813 GB, free: 4.219 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000225/0.204, allocations: 11.98 kB / 0.6813 GB, free: 4.207 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.752e-05/0.2041, allocations: 16 kB / 0.6813 GB, free: 4.191 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/0.2041, allocations: 0 / 0.6813 GB, free: 4.191 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.747e-05/0.2042, allocations: 91.22 kB / 0.6814 GB, free: 4.102 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2042, allocations: 0 / 0.6814 GB, free: 4.102 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004652/0.2047, allocations: 12 kB / 0.6814 GB, free: 4.09 MB / 0.5137 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.001291/0.206, allocations: 0.7631 MB / 0.6822 GB, free: 3.297 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007006/0.2067, allocations: 95.84 kB / 0.6823 GB, free: 3.203 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2067, allocations: 0 / 0.6823 GB, free: 3.203 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003317/0.2071, allocations: 47.94 kB / 0.6823 GB, free: 3.156 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005218/0.2076, allocations: 11.98 kB / 0.6823 GB, free: 3.145 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.2087, allocations: 190 kB / 0.6825 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004146/0.2091, allocations: 0.6807 MB / 0.6832 GB, free: 2.215 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001134/0.2092, allocations: 11.94 kB / 0.6832 GB, free: 2.203 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.297e-05/0.2093, allocations: 15.42 kB / 0.6832 GB, free: 2.188 MB / 0.5137 GB Notification: Performance of SimCode: time 3.11e-07/0.2093, allocations: 0 / 0.6832 GB, free: 2.188 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0299/0.2392, allocations: 1.685 MB / 0.6849 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.916/8.155, allocations: 10.8 kB / 0.6849 GB, free: 0.5977 MB / 0.5137 GB (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)