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.0009941/0.0009937, allocations: 95.92 kB / 15.36 MB, free: 0.7344 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.009279/0.009279, allocations: 170.8 kB / 16.27 MB, free: 6.648 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.502/1.502, allocations: 223.3 MB / 240.3 MB, free: 5.254 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.023/1.023, allocations: 143.2 MB / 434.6 MB, free: 13.57 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003589/0.0003589, allocations: 12 kB / 0.5164 GB, free: 11.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1752/0.1756, allocations: 83.42 MB / 0.5978 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit): time 0.001622/0.1772, allocations: 1.175 MB / 0.599 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008966/0.1781, allocations: 0.5542 MB / 0.5995 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.158e-05/0.1782, allocations: 4 kB / 0.5995 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.654e-05/0.1782, allocations: 7.938 kB / 0.5995 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.862e-05/0.1782, allocations: 0 / 0.5995 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002356/0.1785, allocations: 43.83 kB / 0.5996 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.005e-05/0.1786, allocations: 23.86 kB / 0.5996 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.771e-05/0.1786, allocations: 11.98 kB / 0.5996 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.526e-05/0.1787, allocations: 11.94 kB / 0.5996 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.812e-05/0.1788, allocations: 11.92 kB / 0.5996 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/0.1788, allocations: 4 kB / 0.5996 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001067/0.1789, allocations: 55.95 kB / 0.5997 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.472e-05/0.1789, allocations: 7.922 kB / 0.5997 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.213e-05/0.179, allocations: 33.64 kB / 0.5997 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001236/0.1791, allocations: 67.84 kB / 0.5998 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.1791, allocations: 0 / 0.5998 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.343e-06/0.1791, allocations: 0 / 0.5998 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.426e-06/0.1791, allocations: 0 / 0.5998 GB, free: 5.641 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.0004058/0.1795, allocations: 347.7 kB / 0.6001 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.1796, allocations: 8.031 kB / 0.6001 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.603e-05/0.1796, allocations: 8.844 kB / 0.6001 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/0.1797, allocations: 168.4 kB / 0.6003 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.1797, allocations: 384 / 0.6003 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.516e-06/0.1798, allocations: 384 / 0.6003 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/0.1799, allocations: 46 kB / 0.6004 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.1799, allocations: 7.938 kB / 0.6004 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.1799, allocations: 0 / 0.6004 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.1799, allocations: 0 / 0.6004 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.118e-05/0.18, allocations: 27.98 kB / 0.6004 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003098/0.1804, allocations: 256.8 kB / 0.6006 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.594e-05/0.1804, allocations: 30.56 kB / 0.6007 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.746e-05/0.1805, allocations: 20.92 kB / 0.6007 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000822/0.1813, allocations: 0.4897 MB / 0.6012 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.1814, allocations: 38.5 kB / 0.6012 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.1814, allocations: 3.938 kB / 0.6012 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0002331/0.1816, allocations: 73.58 kB / 0.6013 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/0.1817, allocations: 51.41 kB / 0.6013 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.509e-05/0.1817, allocations: 109.8 kB / 0.6014 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.152e-05/0.1818, allocations: 25.7 kB / 0.6014 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.763e-05/0.1818, allocations: 84.14 kB / 0.6015 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.654e-05/0.1818, allocations: 7.906 kB / 0.6015 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.132e-05/0.1819, allocations: 9.719 kB / 0.6015 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.182, allocations: 319 kB / 0.6019 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.595e-05/0.182, allocations: 12 kB / 0.6019 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.685e-05/0.1821, allocations: 15.92 kB / 0.6019 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.229e-05/0.1822, allocations: 32.78 kB / 0.6019 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1822, allocations: 4.062 kB / 0.6019 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001271/0.1823, allocations: 65.62 kB / 0.602 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.1823, allocations: 5.875 kB / 0.602 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.1823, allocations: 0 / 0.602 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.1823, allocations: 0 / 0.602 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.59e-05/0.1824, allocations: 7.984 kB / 0.602 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.1824, allocations: 0 / 0.602 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.268e-05/0.1825, allocations: 8.031 kB / 0.602 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.1825, allocations: 0 / 0.602 GB, free: 3.078 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 7.185e-05/0.1826, allocations: 121.7 kB / 0.6021 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.336e-05/0.1826, allocations: 3.906 kB / 0.6021 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001715/0.1828, allocations: 65.2 kB / 0.6022 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.1828, allocations: 4 kB / 0.6022 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.1828, allocations: 0 / 0.6022 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.1828, allocations: 4.031 kB / 0.6022 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001507/0.1829, allocations: 165.6 kB / 0.6023 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.183, allocations: 4 kB / 0.6023 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.225e-05/0.183, allocations: 8 kB / 0.6024 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.183, allocations: 3.984 kB / 0.6024 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/0.183, allocations: 3.984 kB / 0.6024 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.183, allocations: 0 / 0.6024 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.183, allocations: 0 / 0.6024 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001581/0.1832, allocations: 163.4 kB / 0.6025 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.341e-05/0.1833, allocations: 81.02 kB / 0.6026 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.434e-05/0.1833, allocations: 7.922 kB / 0.6026 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.015e-05/0.1833, allocations: 4 kB / 0.6026 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.456e-05/0.1834, allocations: 0 / 0.6026 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-06/0.1834, allocations: 0 / 0.6026 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.437e-05/0.1834, allocations: 99.59 kB / 0.6027 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1834, allocations: 0 / 0.6027 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002273/0.1837, allocations: 12 kB / 0.6027 GB, free: 2.238 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.0001538/0.1838, allocations: 116.9 kB / 0.6028 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001274/0.184, allocations: 27.98 kB / 0.6029 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.184, allocations: 0 / 0.6029 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.591e-05/0.184, allocations: 19.98 kB / 0.6029 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001993/0.1842, allocations: 3.938 kB / 0.6029 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002528/0.1845, allocations: 140.6 kB / 0.603 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002331/0.1847, allocations: 0.677 MB / 0.6037 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.194e-05/0.1848, allocations: 4.062 kB / 0.6037 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.898e-05/0.1848, allocations: 11.44 kB / 0.6037 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of SimCode: time 3.81e-07/0.1848, allocations: 0 / 0.6037 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of Templates: time 0.002546/0.1873, allocations: 0.6526 MB / 0.6043 GB, free: 0.5352 MB / 0.4981 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)