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/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.005252/0.005252, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.00206/0.00206, allocations: 197.3 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.418/1.418, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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.6.0/package.mo): time 0.865/0.865, allocations: 143.1 MB / 433.6 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.001271, allocations: 65.19 kB / 0.5951 GB, free: 12.76 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1587, allocations: 82.03 MB / 0.6752 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized): time 0.002569/0.1613, allocations: 1.441 MB / 0.6766 GB, free: 9.395 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001201/0.1625, allocations: 0.7874 MB / 0.6773 GB, free: 8.598 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.024e-05/0.1626, allocations: 0 / 0.6773 GB, free: 8.598 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.36e-05/0.1626, allocations: 7.984 kB / 0.6773 GB, free: 8.59 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.764e-05/0.1627, allocations: 3.938 kB / 0.6774 GB, free: 8.586 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005597/0.1633, allocations: 135.5 kB / 0.6775 GB, free: 8.453 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.971e-05/0.1634, allocations: 31.92 kB / 0.6775 GB, free: 8.422 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.792e-05/0.1635, allocations: 8 kB / 0.6775 GB, free: 8.414 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 5.123e-05/0.1635, allocations: 11.92 kB / 0.6775 GB, free: 8.402 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.308e-05/0.1636, allocations: 23.97 kB / 0.6776 GB, free: 8.379 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.511e-05/0.1636, allocations: 4 kB / 0.6776 GB, free: 8.375 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004881/0.1641, allocations: 311.3 kB / 0.6779 GB, free: 8.07 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.265e-05/0.1641, allocations: 15.98 kB / 0.6779 GB, free: 8.055 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.168e-05/0.1642, allocations: 11.92 kB / 0.6779 GB, free: 8.043 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003573/0.1645, allocations: 199.7 kB / 0.6781 GB, free: 7.848 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.1646, allocations: 4 kB / 0.6781 GB, free: 7.844 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.462e-06/0.1646, allocations: 0 / 0.6781 GB, free: 7.844 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.1646, allocations: 0 / 0.6781 GB, free: 7.844 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.000589/0.1652, allocations: 379 kB / 0.6784 GB, free: 7.426 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.1652, allocations: 8.031 kB / 0.6784 GB, free: 7.418 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.979e-05/0.1653, allocations: 38.69 kB / 0.6785 GB, free: 7.371 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004695/0.1658, allocations: 68.84 kB / 0.6785 GB, free: 7.305 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/0.1659, allocations: 172.3 kB / 0.6787 GB, free: 7.098 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.713e-05/0.1659, allocations: 4.375 kB / 0.6787 GB, free: 7.094 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.382e-05/0.166, allocations: 384 / 0.6787 GB, free: 7.094 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003154/0.1663, allocations: 93.67 kB / 0.6788 GB, free: 6.996 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.1663, allocations: 0 / 0.6788 GB, free: 6.996 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.1663, allocations: 4 kB / 0.6788 GB, free: 6.992 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.1663, allocations: 0 / 0.6788 GB, free: 6.992 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004308/0.1668, allocations: 87.91 kB / 0.6789 GB, free: 6.906 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005318/0.1673, allocations: 300.8 kB / 0.6792 GB, free: 6.562 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003724/0.1677, allocations: 98.44 kB / 0.6793 GB, free: 6.457 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002151/0.1679, allocations: 52.88 kB / 0.6793 GB, free: 6.402 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.189e-05/0.1679, allocations: 0 / 0.6793 GB, free: 6.402 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/0.168, allocations: 34.56 kB / 0.6794 GB, free: 6.359 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 8.51e-07/0.168, allocations: 0 / 0.6794 GB, free: 6.359 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0007412/0.1687, allocations: 169.6 kB / 0.6795 GB, free: 6.188 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.394e-05/0.1688, allocations: 51.41 kB / 0.6796 GB, free: 6.125 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.062e-05/0.1688, allocations: 101.8 kB / 0.6797 GB, free: 6.016 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.1689, allocations: 29.64 kB / 0.6797 GB, free: 5.98 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.564e-05/0.1689, allocations: 88.14 kB / 0.6798 GB, free: 5.891 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.228e-05/0.169, allocations: 7.891 kB / 0.6798 GB, free: 5.883 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.434e-05/0.169, allocations: 17.75 kB / 0.6798 GB, free: 5.859 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.1691, allocations: 322.8 kB / 0.6801 GB, free: 5.535 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002148/0.1694, allocations: 39.95 kB / 0.6801 GB, free: 5.496 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002105/0.1696, allocations: 47.95 kB / 0.6802 GB, free: 5.449 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003918/0.17, allocations: 88.83 kB / 0.6803 GB, free: 5.359 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.17, allocations: 0 / 0.6803 GB, free: 5.359 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004614/0.1705, allocations: 125.6 kB / 0.6804 GB, free: 5.23 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.1705, allocations: 5.719 kB / 0.6804 GB, free: 5.227 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.1705, allocations: 0 / 0.6804 GB, free: 5.227 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.1705, allocations: 0 / 0.6804 GB, free: 5.227 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001709/0.1707, allocations: 31.94 kB / 0.6804 GB, free: 5.195 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.1707, allocations: 0 / 0.6804 GB, free: 5.195 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001162/0.1708, allocations: 15.98 kB / 0.6804 GB, free: 5.18 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.1708, allocations: 3.984 kB / 0.6805 GB, free: 5.176 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 7.687e-05/0.1709, allocations: 113.8 kB / 0.6806 GB, free: 5.055 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.926e-05/0.171, allocations: 4 kB / 0.6806 GB, free: 5.051 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.788e-05/0.171, allocations: 7.125 kB / 0.6806 GB, free: 5.047 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.171, allocations: 0 / 0.6806 GB, free: 5.047 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.171, allocations: 0 / 0.6806 GB, free: 5.047 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.033e-06/0.171, allocations: 0 / 0.6806 GB, free: 5.047 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001981/0.1712, allocations: 185.4 kB / 0.6807 GB, free: 4.816 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1712, allocations: 0 / 0.6807 GB, free: 4.816 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001448/0.1714, allocations: 23.97 kB / 0.6808 GB, free: 4.793 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.1714, allocations: 4 kB / 0.6808 GB, free: 4.789 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.577e-06/0.1714, allocations: 0 / 0.6808 GB, free: 4.789 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1714, allocations: 0 / 0.6808 GB, free: 4.789 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1714, allocations: 0 / 0.6808 GB, free: 4.789 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005005/0.1719, allocations: 227.3 kB / 0.681 GB, free: 4.551 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.898e-05/0.172, allocations: 81.36 kB / 0.6811 GB, free: 4.453 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.702e-05/0.172, allocations: 0 / 0.6811 GB, free: 4.453 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/0.1721, allocations: 24 kB / 0.6811 GB, free: 4.43 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.186e-05/0.1722, allocations: 4 kB / 0.6811 GB, free: 4.426 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.032e-06/0.1722, allocations: 3.938 kB / 0.6811 GB, free: 4.422 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.104e-05/0.1722, allocations: 87.27 kB / 0.6812 GB, free: 4.336 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1722, allocations: 0 / 0.6812 GB, free: 4.336 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002476/0.1725, allocations: 12 kB / 0.6812 GB, free: 4.324 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.0008431/0.1733, allocations: 0.7553 MB / 0.6819 GB, free: 3.539 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004669/0.1738, allocations: 103.9 kB / 0.682 GB, free: 3.438 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1738, allocations: 0 / 0.682 GB, free: 3.438 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002158/0.1741, allocations: 44.02 kB / 0.6821 GB, free: 3.395 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002907/0.1744, allocations: 13.78 kB / 0.6821 GB, free: 3.383 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007167/0.1751, allocations: 191 kB / 0.6823 GB, free: 3.156 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002359/0.1753, allocations: 0.6768 MB / 0.6829 GB, free: 2.453 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 6.69e-05/0.1754, allocations: 8 kB / 0.6829 GB, free: 2.445 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.642e-05/0.1755, allocations: 11.44 kB / 0.6829 GB, free: 2.434 MB / 0.5137 GB Notification: Performance of SimCode: time 2.31e-07/0.1755, allocations: 0 / 0.6829 GB, free: 2.434 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01761/0.1931, allocations: 1.696 MB / 0.6846 GB, free: 0.8477 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.765/7.958, allocations: 19.92 kB / 0.6846 GB, free: 0.8281 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)