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.001089/0.001089, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001908/0.001908, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.376/1.376, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.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 1.051/1.051, allocations: 143 MB / 433.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 63.91 kB / 0.5143 GB, free: 11.59 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1465, allocations: 82.04 MB / 0.5944 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized): time 0.002937/0.1495, allocations: 1.432 MB / 0.5958 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001151/0.1507, allocations: 0.7874 MB / 0.5966 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.82e-05/0.1507, allocations: 3.938 kB / 0.5966 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.833e-05/0.1508, allocations: 4 kB / 0.5966 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.579e-05/0.1509, allocations: 11.92 kB / 0.5966 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000525/0.1514, allocations: 127.5 kB / 0.5967 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.115e-05/0.1515, allocations: 27.98 kB / 0.5967 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.858e-05/0.1516, allocations: 15.92 kB / 0.5967 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.57e-05/0.1516, allocations: 11.98 kB / 0.5968 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.172e-05/0.1517, allocations: 23.91 kB / 0.5968 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.1517, allocations: 4 kB / 0.5968 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000459/0.1522, allocations: 327.2 kB / 0.5971 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.735e-05/0.1522, allocations: 4 kB / 0.5971 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.002e-05/0.1522, allocations: 15.92 kB / 0.5971 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003069/0.1526, allocations: 191.9 kB / 0.5973 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1526, allocations: 0 / 0.5973 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1526, allocations: 0 / 0.5973 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.1526, allocations: 4 kB / 0.5973 GB, free: 6.52 MB / 0.4981 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.0004776/0.1531, allocations: 375.4 kB / 0.5977 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.1531, allocations: 8.031 kB / 0.5977 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.347e-05/0.1531, allocations: 34.73 kB / 0.5977 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004511/0.1536, allocations: 64.86 kB / 0.5978 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.96e-05/0.1537, allocations: 172.3 kB / 0.5979 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/0.1537, allocations: 384 / 0.5979 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/0.1538, allocations: 4.375 kB / 0.5979 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002921/0.1541, allocations: 85.75 kB / 0.598 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.1541, allocations: 3.938 kB / 0.598 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.1541, allocations: 4 kB / 0.598 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.1541, allocations: 0 / 0.598 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004233/0.1545, allocations: 87.91 kB / 0.5981 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004752/0.155, allocations: 300.8 kB / 0.5984 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003736/0.1554, allocations: 94.56 kB / 0.5985 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002125/0.1556, allocations: 52.81 kB / 0.5985 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.574e-05/0.1556, allocations: 0 / 0.5985 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.1557, allocations: 34.5 kB / 0.5986 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.01e-07/0.1557, allocations: 3.938 kB / 0.5986 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0007387/0.1564, allocations: 165.5 kB / 0.5987 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.568e-05/0.1565, allocations: 59.53 kB / 0.5988 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.841e-05/0.1566, allocations: 101.8 kB / 0.5989 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.1566, allocations: 25.7 kB / 0.5989 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.844e-05/0.1566, allocations: 88.14 kB / 0.599 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.966e-05/0.1566, allocations: 3.906 kB / 0.599 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.206e-05/0.1567, allocations: 17.7 kB / 0.599 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.82e-05/0.1568, allocations: 314.8 kB / 0.5993 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002155/0.157, allocations: 47.95 kB / 0.5994 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002013/0.1572, allocations: 51.89 kB / 0.5994 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003965/0.1576, allocations: 88.83 kB / 0.5995 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.1576, allocations: 0 / 0.5995 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004631/0.1581, allocations: 125.8 kB / 0.5996 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.1581, allocations: 4 kB / 0.5996 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.1581, allocations: 0 / 0.5996 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.1582, allocations: 4 kB / 0.5996 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001629/0.1583, allocations: 23.97 kB / 0.5996 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.1583, allocations: 3.938 kB / 0.5996 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001151/0.1585, allocations: 24 kB / 0.5997 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.288e-06/0.1585, allocations: 4 kB / 0.5997 GB, free: 3.859 MB / 0.4981 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 6.96e-05/0.1586, allocations: 109.8 kB / 0.5998 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.829e-05/0.1586, allocations: 3.938 kB / 0.5998 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.471e-05/0.1586, allocations: 11.12 kB / 0.5998 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.1586, allocations: 0 / 0.5998 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.1586, allocations: 4 kB / 0.5998 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.1586, allocations: 0 / 0.5998 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001577/0.1588, allocations: 173.6 kB / 0.6 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1588, allocations: 0 / 0.6 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001418/0.159, allocations: 23.97 kB / 0.6 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.159, allocations: 4 kB / 0.6 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.405e-06/0.159, allocations: 0 / 0.6 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.159, allocations: 0 / 0.6 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.159, allocations: 0 / 0.6 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000475/0.1595, allocations: 223.3 kB / 0.6002 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.545e-05/0.1595, allocations: 85.02 kB / 0.6003 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.1595, allocations: 0 / 0.6003 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001411/0.1597, allocations: 19.97 kB / 0.6003 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.263e-05/0.1597, allocations: 3.984 kB / 0.6003 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/0.1597, allocations: 7.984 kB / 0.6003 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.391e-05/0.1598, allocations: 87.25 kB / 0.6004 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1598, allocations: 0 / 0.6004 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002409/0.16, allocations: 20 kB / 0.6004 GB, free: 3.008 MB / 0.4981 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.0007839/0.1608, allocations: 0.7514 MB / 0.6011 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004595/0.1613, allocations: 99.94 kB / 0.6012 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.1613, allocations: 4.062 kB / 0.6012 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002159/0.1615, allocations: 47.89 kB / 0.6013 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002982/0.1618, allocations: 3.984 kB / 0.6013 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006764/0.1625, allocations: 191.1 kB / 0.6015 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001885/0.1627, allocations: 0.6807 MB / 0.6021 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.437e-05/0.1628, allocations: 11.94 kB / 0.6021 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.681e-05/0.1629, allocations: 15.44 kB / 0.6022 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1629, allocations: 0 / 0.6022 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2339/0.3968, allocations: 1.65 MB / 0.6038 GB, free: 43.68 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.577/7.973, allocations: 10.38 kB / 0.6038 GB, free: 43.68 MB / 0.4981 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)