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.001026/0.001031, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001116/0.001116, allocations: 190.1 kB / 16.14 MB, free: 6.664 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.347/1.347, allocations: 222.9 MB / 239.8 MB, free: 4.566 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.9837/0.9837, allocations: 143 MB / 433 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 63.91 kB / 0.5136 GB, free: 12.03 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1627, allocations: 82.04 MB / 0.5937 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized): time 0.002912/0.1657, allocations: 1.498 MB / 0.5952 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001248/0.1669, allocations: 0.8071 MB / 0.596 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.412e-05/0.167, allocations: 0 / 0.596 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.022e-05/0.167, allocations: 0 / 0.596 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.994e-05/0.1671, allocations: 3.938 kB / 0.596 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003439/0.1674, allocations: 103.7 kB / 0.5961 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.462e-05/0.1675, allocations: 35.91 kB / 0.5961 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.229e-05/0.1676, allocations: 3.938 kB / 0.5961 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.289e-05/0.1676, allocations: 15.98 kB / 0.5961 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.221e-05/0.1677, allocations: 23.92 kB / 0.5962 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.304e-05/0.1677, allocations: 0 / 0.5962 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004054/0.1681, allocations: 319.3 kB / 0.5965 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.153e-05/0.1681, allocations: 0 / 0.5965 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.815e-05/0.1682, allocations: 15.92 kB / 0.5965 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002966/0.1685, allocations: 195.9 kB / 0.5967 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1685, allocations: 0 / 0.5967 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.52e-07/0.1685, allocations: 0 / 0.5967 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.948e-06/0.1685, allocations: 3.938 kB / 0.5967 GB, free: 6.93 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.0005433/0.169, allocations: 375.4 kB / 0.597 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.1691, allocations: 12.03 kB / 0.597 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.147e-05/0.1691, allocations: 30.75 kB / 0.5971 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004542/0.1696, allocations: 68.84 kB / 0.5971 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001323/0.1697, allocations: 164.3 kB / 0.5973 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.321e-05/0.1698, allocations: 384 / 0.5973 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.615e-05/0.1698, allocations: 8.375 kB / 0.5973 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002926/0.1701, allocations: 89.69 kB / 0.5974 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.1701, allocations: 0 / 0.5974 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.1701, allocations: 0 / 0.5974 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.1701, allocations: 0 / 0.5974 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004113/0.1705, allocations: 95.89 kB / 0.5975 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005159/0.1711, allocations: 296.8 kB / 0.5978 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003545/0.1714, allocations: 90.5 kB / 0.5978 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001935/0.1716, allocations: 60.8 kB / 0.5979 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.707e-05/0.1717, allocations: 0 / 0.5979 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.1717, allocations: 38.5 kB / 0.5979 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.1717, allocations: 0 / 0.5979 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0006793/0.1724, allocations: 161.6 kB / 0.5981 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.637e-05/0.1724, allocations: 55.39 kB / 0.5981 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.1725, allocations: 106 kB / 0.5982 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.1726, allocations: 25.7 kB / 0.5983 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.52e-05/0.1726, allocations: 84.12 kB / 0.5983 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.112e-05/0.1726, allocations: 11.89 kB / 0.5984 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.775e-05/0.1727, allocations: 13.72 kB / 0.5984 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.1728, allocations: 318.8 kB / 0.5987 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001955/0.173, allocations: 47.89 kB / 0.5987 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001843/0.1732, allocations: 51.94 kB / 0.5988 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003432/0.1735, allocations: 88.83 kB / 0.5989 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1735, allocations: 4 kB / 0.5989 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004078/0.174, allocations: 121.5 kB / 0.599 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.174, allocations: 4 kB / 0.599 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.174, allocations: 0 / 0.599 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.174, allocations: 256 / 0.599 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001515/0.1742, allocations: 19.97 kB / 0.599 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/0.1742, allocations: 11.98 kB / 0.599 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001181/0.1743, allocations: 23.94 kB / 0.599 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/0.1743, allocations: 0 / 0.599 GB, free: 4.27 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 8.048e-05/0.1744, allocations: 121.1 kB / 0.5992 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.597e-05/0.1744, allocations: 0 / 0.5992 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.164e-05/0.1745, allocations: 11.11 kB / 0.5992 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1745, allocations: 3.938 kB / 0.5992 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.1745, allocations: 0 / 0.5992 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.1745, allocations: 3.984 kB / 0.5992 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001704/0.1747, allocations: 169.6 kB / 0.5993 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1747, allocations: 4 kB / 0.5993 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001304/0.1748, allocations: 19.97 kB / 0.5994 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.1748, allocations: 0 / 0.5994 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/0.1748, allocations: 4 kB / 0.5994 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.1749, allocations: 3.984 kB / 0.5994 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1749, allocations: 3.938 kB / 0.5994 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004652/0.1753, allocations: 219.4 kB / 0.5996 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.204e-05/0.1754, allocations: 85 kB / 0.5997 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.705e-05/0.1754, allocations: 3.938 kB / 0.5997 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.1755, allocations: 15.98 kB / 0.5997 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.066e-05/0.1756, allocations: 7.984 kB / 0.5997 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.778e-06/0.1756, allocations: 4 kB / 0.5997 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.123e-05/0.1757, allocations: 79.28 kB / 0.5998 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1757, allocations: 4.031 kB / 0.5998 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002249/0.1759, allocations: 12 kB / 0.5998 GB, free: 3.422 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.0007696/0.1767, allocations: 0.7592 MB / 0.6005 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004271/0.1771, allocations: 91.88 kB / 0.6006 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1771, allocations: 4 kB / 0.6006 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001971/0.1773, allocations: 56 kB / 0.6007 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002843/0.1776, allocations: 0 / 0.6007 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006819/0.1783, allocations: 193 kB / 0.6008 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002761/0.1786, allocations: 0.677 MB / 0.6015 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.173e-05/0.1787, allocations: 12 kB / 0.6015 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.437e-05/0.1787, allocations: 15.36 kB / 0.6015 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.1787, allocations: 0 / 0.6015 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01116/0.1899, allocations: 1.485 MB / 0.603 GB, free: 164 kB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.2957/0.4857, allocations: 210.1 kB / 0.6032 GB, free: 45.69 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.575/2.061, allocations: 3.469 kB / 0.6032 GB, free: 45.69 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)