Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.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: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008608/0.008608, allocations: 96.39 kB / 15.73 MB, free: 6.484 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.00191/0.00191, allocations: 191.5 kB / 16.67 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.463/1.463, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.073/1.073, allocations: 143 MB / 433.5 MB, free: 11.48 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 67.89 kB / 0.5955 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4435/0.4447, allocations: 82.03 MB / 0.6756 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit): time 0.002289/0.4471, allocations: 1.455 MB / 0.6771 GB, free: 360 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008575/0.448, allocations: 0.5597 MB / 0.6776 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.686e-05/0.448, allocations: 1.156 kB / 0.6776 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.354e-05/0.4481, allocations: 3.938 kB / 0.6776 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.253e-05/0.4481, allocations: 13.05 kB / 0.6776 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003028/0.4484, allocations: 50.45 kB / 0.6777 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.12e-05/0.4485, allocations: 31 kB / 0.6777 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.29e-05/0.4486, allocations: 3.406 kB / 0.6777 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 8.938e-05/0.4487, allocations: 17.77 kB / 0.6777 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.579e-05/0.4488, allocations: 8.188 kB / 0.6777 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.495e-05/0.4488, allocations: 6.344 kB / 0.6777 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001315/0.449, allocations: 62.25 kB / 0.6778 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.331e-05/0.449, allocations: 4.875 kB / 0.6778 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.013e-05/0.449, allocations: 19.11 kB / 0.6778 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001891/0.4492, allocations: 63.05 kB / 0.6779 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.4492, allocations: 1.062 kB / 0.6779 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.653e-06/0.4492, allocations: 3.938 kB / 0.6779 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.184e-06/0.4492, allocations: 0 / 0.6779 GB, free: 15.73 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.0004483/0.4497, allocations: 353.5 kB / 0.6782 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.4497, allocations: 9.906 kB / 0.6782 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.761e-05/0.4498, allocations: 2 kB / 0.6782 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.4499, allocations: 166.6 kB / 0.6784 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.4499, allocations: 9.578 kB / 0.6784 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.203e-05/0.4499, allocations: 1.5 kB / 0.6784 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/0.4501, allocations: 45.81 kB / 0.6784 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.4501, allocations: 0 / 0.6784 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.4501, allocations: 1.094 kB / 0.6784 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.4501, allocations: 0 / 0.6784 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.242e-05/0.4502, allocations: 27.5 kB / 0.6785 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003167/0.4505, allocations: 259.7 kB / 0.6787 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 9.41e-05/0.4506, allocations: 31.94 kB / 0.6788 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.017e-05/0.4507, allocations: 15.64 kB / 0.6788 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000797/0.4515, allocations: 476.5 kB / 0.6792 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.4515, allocations: 30.56 kB / 0.6792 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.4515, allocations: 5.031 kB / 0.6793 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0002673/0.4518, allocations: 62.23 kB / 0.6793 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.213e-05/0.4518, allocations: 52.62 kB / 0.6794 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.383e-05/0.4519, allocations: 111.5 kB / 0.6795 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.132e-05/0.452, allocations: 33.77 kB / 0.6795 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.456e-05/0.452, allocations: 90.38 kB / 0.6796 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.062e-05/0.452, allocations: 9.156 kB / 0.6796 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-05/0.4521, allocations: 16.06 kB / 0.6796 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.67e-05/0.4522, allocations: 312 kB / 0.6799 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.519e-05/0.4522, allocations: 9.484 kB / 0.6799 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.798e-05/0.4523, allocations: 9.594 kB / 0.6799 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.797e-05/0.4524, allocations: 37.12 kB / 0.68 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.4524, allocations: 1.438 kB / 0.68 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001159/0.4525, allocations: 53.3 kB / 0.68 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.4525, allocations: 5.688 kB / 0.68 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.4525, allocations: 0 / 0.68 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.4525, allocations: 1.094 kB / 0.68 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.755e-05/0.4526, allocations: 4.375 kB / 0.68 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.057e-06/0.4526, allocations: 0 / 0.68 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.248e-05/0.4527, allocations: 6.219 kB / 0.68 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.4527, allocations: 5.109 kB / 0.68 GB, free: 13.42 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.2e-05/0.4528, allocations: 116.1 kB / 0.6801 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.62e-05/0.4528, allocations: 4.953 kB / 0.6802 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001696/0.453, allocations: 65.3 kB / 0.6802 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.453, allocations: 5.219 kB / 0.6802 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.453, allocations: 0 / 0.6802 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.453, allocations: 1.25 kB / 0.6802 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001697/0.4532, allocations: 163.1 kB / 0.6804 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.4532, allocations: 7.984 kB / 0.6804 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.323e-05/0.4532, allocations: 4.531 kB / 0.6804 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.4532, allocations: 1.094 kB / 0.6804 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.4533, allocations: 0 / 0.6804 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.4533, allocations: 1.062 kB / 0.6804 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.4533, allocations: 0 / 0.6804 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001646/0.4534, allocations: 162.5 kB / 0.6805 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.426e-05/0.4535, allocations: 81.06 kB / 0.6806 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.398e-05/0.4535, allocations: 1.344 kB / 0.6806 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.224e-05/0.4536, allocations: 1.406 kB / 0.6806 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.627e-05/0.4536, allocations: 4.984 kB / 0.6806 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-06/0.4536, allocations: 1.031 kB / 0.6806 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.295e-05/0.4537, allocations: 89.16 kB / 0.6807 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4537, allocations: 1.219 kB / 0.6807 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002601/0.4539, allocations: 14.94 kB / 0.6807 GB, free: 12.68 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.0001727/0.4541, allocations: 116.8 kB / 0.6808 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001413/0.4543, allocations: 21.3 kB / 0.6809 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4543, allocations: 1.344 kB / 0.6809 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 5.106e-05/0.4543, allocations: 18.89 kB / 0.6809 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002219/0.4546, allocations: 7.734 kB / 0.6809 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002897/0.4549, allocations: 127.5 kB / 0.681 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002311/0.4551, allocations: 0.6793 MB / 0.6817 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.41e-05/0.4551, allocations: 5.109 kB / 0.6817 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.9e-05/0.4552, allocations: 8.562 kB / 0.6817 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of SimCode: time 2.1e-07/0.4552, allocations: 1.281 kB / 0.6817 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of Templates: time 0.002901/0.4581, allocations: 0.694 MB / 0.6824 GB, free: 11.36 MB / 0.5137 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)