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.00901/0.00901, allocations: 97.62 kB / 15.73 MB, free: 6.055 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.001623/0.001623, allocations: 198.7 kB / 16.68 MB, free: 5.961 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.479/1.479, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.9076/0.9076, allocations: 143.3 MB / 433.9 MB, free: 11.82 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 67.81 kB / 0.5953 GB, free: 12.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.1729, allocations: 82.03 MB / 0.6754 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized): time 0.002736/0.1756, allocations: 1.448 MB / 0.6768 GB, free: 9.277 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001339/0.177, allocations: 0.7835 MB / 0.6776 GB, free: 8.484 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.286e-05/0.1771, allocations: 0 / 0.6776 GB, free: 8.484 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.092e-05/0.1771, allocations: 7.922 kB / 0.6776 GB, free: 8.477 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.426e-05/0.1772, allocations: 7.938 kB / 0.6776 GB, free: 8.469 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004435/0.1776, allocations: 123.5 kB / 0.6777 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.403e-05/0.1777, allocations: 31.92 kB / 0.6778 GB, free: 8.316 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.1778, allocations: 4 kB / 0.6778 GB, free: 8.312 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 5.909e-05/0.1779, allocations: 27.91 kB / 0.6778 GB, free: 8.285 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.168e-05/0.178, allocations: 19.97 kB / 0.6778 GB, free: 8.266 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/0.178, allocations: 3.938 kB / 0.6778 GB, free: 8.262 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005068/0.1785, allocations: 311.4 kB / 0.6781 GB, free: 7.957 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.269e-05/0.1785, allocations: 11.97 kB / 0.6781 GB, free: 7.945 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.5e-05/0.1786, allocations: 19.86 kB / 0.6781 GB, free: 7.926 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003645/0.1789, allocations: 195.8 kB / 0.6783 GB, free: 7.734 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.179, allocations: 0 / 0.6783 GB, free: 7.734 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.943e-06/0.179, allocations: 0 / 0.6783 GB, free: 7.734 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.179, allocations: 0 / 0.6783 GB, free: 7.734 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.0006915/0.1797, allocations: 383 kB / 0.6787 GB, free: 7.312 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.1797, allocations: 12.03 kB / 0.6787 GB, free: 7.301 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.548e-05/0.1798, allocations: 30.75 kB / 0.6787 GB, free: 7.262 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004647/0.1802, allocations: 68.84 kB / 0.6788 GB, free: 7.195 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002418/0.1805, allocations: 172.3 kB / 0.679 GB, free: 6.988 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.849e-05/0.1805, allocations: 4.375 kB / 0.679 GB, free: 6.984 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.533e-05/0.1806, allocations: 8.312 kB / 0.679 GB, free: 6.977 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003298/0.1809, allocations: 85.75 kB / 0.679 GB, free: 6.887 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.1809, allocations: 0 / 0.679 GB, free: 6.887 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.1809, allocations: 0 / 0.679 GB, free: 6.887 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.1809, allocations: 0 / 0.679 GB, free: 6.887 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004249/0.1814, allocations: 95.84 kB / 0.6791 GB, free: 6.793 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006078/0.182, allocations: 296.8 kB / 0.6794 GB, free: 6.453 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003869/0.1824, allocations: 94.5 kB / 0.6795 GB, free: 6.352 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002162/0.1826, allocations: 48.88 kB / 0.6796 GB, free: 6.301 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.717e-05/0.1826, allocations: 3.984 kB / 0.6796 GB, free: 6.297 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/0.1827, allocations: 38.5 kB / 0.6796 GB, free: 6.25 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.1827, allocations: 0 / 0.6796 GB, free: 6.25 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0007713/0.1835, allocations: 169.5 kB / 0.6798 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/0.1835, allocations: 51.41 kB / 0.6798 GB, free: 6.016 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.1836, allocations: 114.1 kB / 0.6799 GB, free: 5.895 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.1836, allocations: 25.7 kB / 0.6799 GB, free: 5.863 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.59e-05/0.1837, allocations: 80.14 kB / 0.68 GB, free: 5.781 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.415e-05/0.1837, allocations: 11.95 kB / 0.68 GB, free: 5.77 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.113e-05/0.1838, allocations: 9.719 kB / 0.68 GB, free: 5.754 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001731/0.184, allocations: 322.8 kB / 0.6804 GB, free: 5.43 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002225/0.1842, allocations: 47.95 kB / 0.6804 GB, free: 5.383 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002035/0.1844, allocations: 44.02 kB / 0.6804 GB, free: 5.34 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004066/0.1848, allocations: 96.77 kB / 0.6805 GB, free: 5.242 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1848, allocations: 4 kB / 0.6805 GB, free: 5.238 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004594/0.1853, allocations: 117.6 kB / 0.6806 GB, free: 5.117 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.1853, allocations: 8 kB / 0.6807 GB, free: 5.109 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1853, allocations: 0 / 0.6807 GB, free: 5.109 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.1853, allocations: 0 / 0.6807 GB, free: 5.109 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001609/0.1855, allocations: 19.97 kB / 0.6807 GB, free: 5.09 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.1855, allocations: 0 / 0.6807 GB, free: 5.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001137/0.1856, allocations: 20.02 kB / 0.6807 GB, free: 5.07 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.267e-05/0.1857, allocations: 7.984 kB / 0.6807 GB, free: 5.062 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.0001052/0.1858, allocations: 113.8 kB / 0.6808 GB, free: 4.941 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.459e-05/0.1858, allocations: 0 / 0.6808 GB, free: 4.941 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.611e-05/0.1858, allocations: 3.125 kB / 0.6808 GB, free: 4.941 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.1858, allocations: 4 kB / 0.6808 GB, free: 4.938 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.1859, allocations: 0 / 0.6808 GB, free: 4.938 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.1859, allocations: 3.938 kB / 0.6808 GB, free: 4.934 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001968/0.1861, allocations: 173.6 kB / 0.681 GB, free: 4.715 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1861, allocations: 4 kB / 0.681 GB, free: 4.711 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001392/0.1862, allocations: 19.97 kB / 0.681 GB, free: 4.691 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1862, allocations: 0 / 0.681 GB, free: 4.691 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.1862, allocations: 7.938 kB / 0.681 GB, free: 4.684 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1863, allocations: 0 / 0.681 GB, free: 4.684 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1863, allocations: 0 / 0.681 GB, free: 4.684 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005236/0.1868, allocations: 227.3 kB / 0.6812 GB, free: 4.445 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.66e-05/0.1869, allocations: 81.05 kB / 0.6813 GB, free: 4.348 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.569e-05/0.1869, allocations: 0 / 0.6813 GB, free: 4.348 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001554/0.187, allocations: 23.97 kB / 0.6813 GB, free: 4.324 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.391e-05/0.1871, allocations: 3.938 kB / 0.6813 GB, free: 4.32 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.256e-06/0.1871, allocations: 4 kB / 0.6813 GB, free: 4.316 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.617e-05/0.1872, allocations: 87.27 kB / 0.6814 GB, free: 4.23 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1872, allocations: 4.031 kB / 0.6814 GB, free: 4.227 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002414/0.1874, allocations: 8 kB / 0.6814 GB, free: 4.219 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.001017/0.1884, allocations: 0.763 MB / 0.6822 GB, free: 3.426 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005015/0.1889, allocations: 95.92 kB / 0.6823 GB, free: 3.332 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.189, allocations: 0 / 0.6823 GB, free: 3.332 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002257/0.1892, allocations: 55.95 kB / 0.6823 GB, free: 3.277 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003673/0.1896, allocations: 2.578 kB / 0.6823 GB, free: 3.277 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008419/0.1904, allocations: 195 kB / 0.6825 GB, free: 3.047 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003846/0.1908, allocations: 0.6768 MB / 0.6832 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.686e-05/0.1909, allocations: 12 kB / 0.6832 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.389e-05/0.191, allocations: 11.44 kB / 0.6832 GB, free: 2.32 MB / 0.5137 GB Notification: Performance of SimCode: time 3.51e-07/0.191, allocations: 0 / 0.6832 GB, free: 2.32 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02266/0.2136, allocations: 1.699 MB / 0.6849 GB, free: 0.7305 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.892/8.106, allocations: 11.91 kB / 0.6849 GB, free: 0.7188 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_InverseXRegularized.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)