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.0008576/0.0008577, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.005869/0.005869, allocations: 173.7 kB / 16.27 MB, free: 6.613 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.312/1.312, allocations: 223.3 MB / 240.3 MB, free: 5.332 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 0.999/0.999, allocations: 143.2 MB / 434.6 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003377/0.0003378, allocations: 12 kB / 0.5165 GB, free: 11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1613/0.1617, allocations: 83.41 MB / 0.598 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized): time 0.001383/0.1631, allocations: 1.155 MB / 0.5991 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001059/0.1642, allocations: 0.7916 MB / 0.5999 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.881e-05/0.1642, allocations: 3.938 kB / 0.5999 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.311e-05/0.1642, allocations: 3.984 kB / 0.5999 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.032e-05/0.1643, allocations: 4 kB / 0.5999 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003091/0.1646, allocations: 99.69 kB / 0.6 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.18e-05/0.1646, allocations: 27.92 kB / 0.6 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.452e-05/0.1647, allocations: 15.98 kB / 0.6 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.459e-05/0.1648, allocations: 11.92 kB / 0.6 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.167e-05/0.1648, allocations: 23.91 kB / 0.6001 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.314e-05/0.1648, allocations: 4 kB / 0.6001 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003995/0.1652, allocations: 311.4 kB / 0.6004 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.321e-05/0.1653, allocations: 7.984 kB / 0.6004 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.216e-05/0.1653, allocations: 33.64 kB / 0.6004 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002546/0.1656, allocations: 191.9 kB / 0.6006 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.1656, allocations: 4 kB / 0.6006 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1656, allocations: 0 / 0.6006 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.805e-06/0.1656, allocations: 0 / 0.6006 GB, free: 4.84 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.0004293/0.166, allocations: 375.4 kB / 0.6009 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.1661, allocations: 12.03 kB / 0.6009 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.953e-05/0.1661, allocations: 38.67 kB / 0.601 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004531/0.1666, allocations: 80.86 kB / 0.6011 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.627e-05/0.1667, allocations: 168.3 kB / 0.6012 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.1667, allocations: 384 / 0.6012 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.361e-05/0.1667, allocations: 4.375 kB / 0.6012 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002943/0.167, allocations: 97.75 kB / 0.6013 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.721e-06/0.167, allocations: 0 / 0.6013 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.167, allocations: 0 / 0.6013 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.167, allocations: 4 kB / 0.6013 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004301/0.1675, allocations: 115.9 kB / 0.6014 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004712/0.168, allocations: 312.7 kB / 0.6017 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003775/0.1683, allocations: 106.5 kB / 0.6018 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002221/0.1686, allocations: 64.88 kB / 0.6019 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.371e-05/0.1686, allocations: 4 kB / 0.6019 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.772e-05/0.1686, allocations: 30.56 kB / 0.6019 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 2.345e-06/0.1686, allocations: 4 kB / 0.6019 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.000732/0.1694, allocations: 209.5 kB / 0.6021 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.876e-05/0.1694, allocations: 51.41 kB / 0.6022 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.073e-05/0.1695, allocations: 105.8 kB / 0.6023 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.1695, allocations: 25.7 kB / 0.6023 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.269e-05/0.1695, allocations: 84.17 kB / 0.6024 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.609e-05/0.1696, allocations: 7.844 kB / 0.6024 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-05/0.1696, allocations: 13.72 kB / 0.6024 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.388e-05/0.1697, allocations: 322.8 kB / 0.6027 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002232/0.1699, allocations: 55.95 kB / 0.6028 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002085/0.1701, allocations: 55.95 kB / 0.6028 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004189/0.1706, allocations: 116.8 kB / 0.6029 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1706, allocations: 0 / 0.6029 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004708/0.171, allocations: 149.5 kB / 0.6031 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.1711, allocations: 4 kB / 0.6031 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-06/0.1711, allocations: 4.031 kB / 0.6031 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.827e-06/0.1711, allocations: 0 / 0.6031 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001591/0.1713, allocations: 27.97 kB / 0.6031 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.1713, allocations: 3.984 kB / 0.6031 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001181/0.1714, allocations: 23.98 kB / 0.6031 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.383e-06/0.1714, allocations: 256 / 0.6031 GB, free: 1.984 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.976e-05/0.1715, allocations: 121.8 kB / 0.6033 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.679e-05/0.1715, allocations: 3.906 kB / 0.6033 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.552e-05/0.1715, allocations: 11.11 kB / 0.6033 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.1715, allocations: 4 kB / 0.6033 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.1716, allocations: 0 / 0.6033 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.1716, allocations: 4 kB / 0.6033 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001565/0.1717, allocations: 173.6 kB / 0.6034 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.1717, allocations: 0 / 0.6034 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001403/0.1719, allocations: 27.97 kB / 0.6035 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.1719, allocations: 0 / 0.6035 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.854e-06/0.1719, allocations: 0 / 0.6035 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1719, allocations: 4 kB / 0.6035 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.1719, allocations: 0 / 0.6035 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005009/0.1724, allocations: 251.3 kB / 0.6037 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.897e-05/0.1725, allocations: 81.05 kB / 0.6038 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.1725, allocations: 0 / 0.6038 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001525/0.1726, allocations: 23.97 kB / 0.6038 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.075e-05/0.1727, allocations: 4 kB / 0.6038 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.1727, allocations: 0 / 0.6038 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.417e-05/0.1727, allocations: 91.3 kB / 0.6039 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1727, allocations: 0 / 0.6039 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002367/0.173, allocations: 16 kB / 0.6039 GB, free: 1.094 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.0007612/0.1737, allocations: 0.7786 MB / 0.6047 GB, free: 292 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004662/0.1742, allocations: 123.9 kB / 0.6048 GB, free: 168 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1742, allocations: 4 kB / 0.6048 GB, free: 164 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002194/0.1745, allocations: 59.95 kB / 0.6049 GB, free: 104 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002636/0.1747, allocations: 9.875 kB / 0.6049 GB, free: 96 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2567/0.4314, allocations: 203.9 kB / 0.6051 GB, free: 40.3 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.915e-05/0.4316, allocations: 0.6805 MB / 0.6057 GB, free: 39.61 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.47e-05/0.4316, allocations: 7.219 kB / 0.6057 GB, free: 39.61 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.827e-05/0.4317, allocations: 14.34 kB / 0.6057 GB, free: 39.6 MB / 0.4981 GB Notification: Performance of SimCode: time 6.02e-07/0.4317, allocations: 2.844 kB / 0.6058 GB, free: 39.6 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009944/0.4417, allocations: 1.418 MB / 0.6071 GB, free: 39.54 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001497/0.4418, allocations: 210.5 kB / 0.6073 GB, free: 39.29 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.661/2.103, allocations: 3.938 kB / 0.6073 GB, free: 39.28 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 & /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)