Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.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.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 99.42 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001594/0.001594, allocations: 181.4 kB / 16.92 MB, free: 6.918 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.439/1.439, allocations: 223.3 MB / 241 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 0.9997/0.9997, allocations: 143.2 MB / 435.3 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003707/0.0003707, allocations: 16 kB / 0.5171 GB, free: 11.13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.1683, allocations: 83.4 MB / 0.5985 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep): time 0.0007509/0.1691, allocations: 319 kB / 0.5988 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002867/0.1694, allocations: 47.86 kB / 0.5989 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.067e-05/0.1694, allocations: 0 / 0.5989 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.211e-05/0.1694, allocations: 0 / 0.5989 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.679e-06/0.1694, allocations: 0 / 0.5989 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002059/0.1697, allocations: 15.92 kB / 0.5989 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.833e-05/0.1697, allocations: 7.984 kB / 0.5989 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.79e-05/0.1697, allocations: 0 / 0.5989 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.377e-05/0.1698, allocations: 0 / 0.5989 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.275e-05/0.1698, allocations: 4 kB / 0.5989 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.476e-06/0.1698, allocations: 0 / 0.5989 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/0.1699, allocations: 27.97 kB / 0.5989 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.177e-06/0.1699, allocations: 3.938 kB / 0.5989 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.8e-05/0.17, allocations: 25.7 kB / 0.5989 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 6.053e-05/0.17, allocations: 7.984 kB / 0.599 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1701, allocations: 0 / 0.599 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1701, allocations: 0 / 0.599 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.947e-06/0.1701, allocations: 4 kB / 0.599 GB, free: 7.219 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002569/0.1703, allocations: 307.6 kB / 0.5993 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.1704, allocations: 12.09 kB / 0.5993 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002545/0.1706, allocations: 20.91 kB / 0.5993 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.773e-05/0.1707, allocations: 164.4 kB / 0.5994 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.1708, allocations: 384 / 0.5994 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.558e-06/0.1708, allocations: 384 / 0.5994 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.1709, allocations: 38.25 kB / 0.5995 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.1709, allocations: 192 / 0.5995 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.171, allocations: 7.938 kB / 0.5995 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.171, allocations: 0 / 0.5995 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.674e-05/0.1711, allocations: 15.92 kB / 0.5995 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000125/0.1712, allocations: 141.7 kB / 0.5996 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.498e-05/0.1713, allocations: 22.59 kB / 0.5997 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.151e-05/0.1714, allocations: 16.92 kB / 0.5997 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.127e-05/0.1714, allocations: 4 kB / 0.5997 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/0.1714, allocations: 34.5 kB / 0.5997 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.1714, allocations: 0 / 0.5997 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0002453/0.1717, allocations: 53.55 kB / 0.5998 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.474e-05/0.1717, allocations: 51.41 kB / 0.5998 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.623e-05/0.1718, allocations: 89.86 kB / 0.5999 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/0.1718, allocations: 25.7 kB / 0.5999 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.373e-05/0.1718, allocations: 84.27 kB / 0.6 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.683e-05/0.1719, allocations: 7.984 kB / 0.6 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.355e-05/0.1719, allocations: 17.66 kB / 0.6 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.172, allocations: 314.8 kB / 0.6003 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.671e-05/0.1721, allocations: 4 kB / 0.6003 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.889e-05/0.1721, allocations: 3.984 kB / 0.6003 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.874e-05/0.1722, allocations: 16.92 kB / 0.6003 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.1722, allocations: 3.984 kB / 0.6004 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001258/0.1723, allocations: 49.53 kB / 0.6004 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.1724, allocations: 4 kB / 0.6004 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.1724, allocations: 0 / 0.6004 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.1724, allocations: 7.922 kB / 0.6004 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.786e-05/0.1725, allocations: 4 kB / 0.6004 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.1725, allocations: 0 / 0.6004 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.332e-05/0.1725, allocations: 8.016 kB / 0.6004 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/0.1725, allocations: 0 / 0.6004 GB, free: 5.492 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 (1): * Single equations (assignments): 1 * 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.279e-05/0.1726, allocations: 113.8 kB / 0.6005 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.774e-06/0.1726, allocations: 0 / 0.6005 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.508e-05/0.1726, allocations: 7.062 kB / 0.6005 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1726, allocations: 0 / 0.6005 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.1727, allocations: 0 / 0.6005 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.1727, allocations: 0 / 0.6005 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.591e-05/0.1727, allocations: 149.7 kB / 0.6007 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.1728, allocations: 4 kB / 0.6007 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.926e-05/0.1728, allocations: 0 / 0.6007 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.1728, allocations: 4 kB / 0.6007 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.1728, allocations: 3.938 kB / 0.6007 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.1728, allocations: 0 / 0.6007 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-05/0.1728, allocations: 7.922 kB / 0.6007 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001428/0.173, allocations: 69.12 kB / 0.6008 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.093e-05/0.173, allocations: 81.11 kB / 0.6008 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.176e-05/0.1731, allocations: 3.938 kB / 0.6008 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.181e-05/0.1731, allocations: 3.984 kB / 0.6008 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.859e-06/0.1731, allocations: 0 / 0.6008 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.1731, allocations: 0 / 0.6008 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.327e-05/0.1732, allocations: 79.28 kB / 0.6009 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1732, allocations: 3.938 kB / 0.6009 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001757/0.1733, allocations: 0 / 0.6009 GB, free: 4.879 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 (1): * Single equations (assignments): 1 * 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.0001299/0.1735, allocations: 103.2 kB / 0.601 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001446/0.1736, allocations: 19.92 kB / 0.601 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1736, allocations: 0 / 0.601 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.567e-05/0.1737, allocations: 7.984 kB / 0.6011 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000142/0.1738, allocations: 6.391 kB / 0.6011 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002515/0.1741, allocations: 109.8 kB / 0.6012 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002386/0.1743, allocations: 0.6692 MB / 0.6018 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.784e-05/0.1744, allocations: 7.438 kB / 0.6018 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1744, allocations: 0 / 0.6018 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of Templates: time 0.001691/0.1761, allocations: 389.5 kB / 0.6022 GB, free: 3.52 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)