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.007473/0.007473, allocations: 99.95 kB / 15.73 MB, free: 6.062 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.001596/0.001597, allocations: 189.3 kB / 16.67 MB, free: 5.973 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.397/1.397, allocations: 222.9 MB / 240.4 MB, free: 4.176 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.9925/0.9925, allocations: 143 MB / 433.5 MB, free: 11.42 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 63.91 kB / 0.5956 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.432/0.4332, allocations: 82.04 MB / 0.6757 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep): time 0.001643/0.4349, allocations: 0.5719 MB / 0.6762 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002737/0.4352, allocations: 49.61 kB / 0.6763 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.248e-05/0.4352, allocations: 0 / 0.6763 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.521e-05/0.4353, allocations: 7.938 kB / 0.6763 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.572e-06/0.4353, allocations: 0 / 0.6763 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002456/0.4355, allocations: 12.67 kB / 0.6763 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.784e-05/0.4356, allocations: 1.375 kB / 0.6763 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.256e-05/0.4356, allocations: 1.25 kB / 0.6763 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.522e-05/0.4357, allocations: 5.453 kB / 0.6763 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.064e-05/0.4357, allocations: 3.984 kB / 0.6763 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.707e-06/0.4357, allocations: 1.094 kB / 0.6763 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001077/0.4358, allocations: 22.77 kB / 0.6763 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.493e-05/0.4358, allocations: 0 / 0.6763 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.618e-05/0.4359, allocations: 7.938 kB / 0.6763 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.054e-05/0.4359, allocations: 15.03 kB / 0.6764 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.436, allocations: 3.938 kB / 0.6764 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.723e-06/0.436, allocations: 0 / 0.6764 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.178e-06/0.436, allocations: 0 / 0.6764 GB, free: 0.8672 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.0002027/0.4362, allocations: 318.8 kB / 0.6767 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.4362, allocations: 9.469 kB / 0.6767 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002473/0.4365, allocations: 18.41 kB / 0.6767 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.154e-05/0.4365, allocations: 164.4 kB / 0.6768 GB, free: 312 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.4366, allocations: 1.344 kB / 0.6768 GB, free: 312 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.968e-06/0.4366, allocations: 384 / 0.6768 GB, free: 312 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001316/0.4367, allocations: 38.86 kB / 0.6769 GB, free: 272 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.4367, allocations: 192 / 0.6769 GB, free: 272 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.4367, allocations: 3.938 kB / 0.6769 GB, free: 268 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.4368, allocations: 1.438 kB / 0.6769 GB, free: 268 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.467e-05/0.4368, allocations: 8.766 kB / 0.6769 GB, free: 264 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001024/0.437, allocations: 151.9 kB / 0.677 GB, free: 64 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.265e-05/0.437, allocations: 29.38 kB / 0.6771 GB, free: 28 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.788e-05/0.4371, allocations: 9.203 kB / 0.6771 GB, free: 20 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.054e-05/0.4371, allocations: 0 / 0.6771 GB, free: 20 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.163e-05/0.4372, allocations: 31.69 kB / 0.6771 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 2.735e-06/0.4372, allocations: 4 kB / 0.6771 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0002394/0.4374, allocations: 57.27 kB / 0.6772 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/0.4375, allocations: 51.41 kB / 0.6772 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.288e-05/0.4375, allocations: 89.86 kB / 0.6773 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.4375, allocations: 27.11 kB / 0.6773 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.105e-05/0.4376, allocations: 84.12 kB / 0.6774 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.633e-05/0.4376, allocations: 7.891 kB / 0.6774 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.024e-05/0.4376, allocations: 16.31 kB / 0.6774 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.4377, allocations: 314.8 kB / 0.6777 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.763e-05/0.4378, allocations: 7.719 kB / 0.6777 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.022e-05/0.4378, allocations: 10.77 kB / 0.6778 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.259e-05/0.4379, allocations: 15.47 kB / 0.6778 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.4379, allocations: 0 / 0.6778 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001175/0.4381, allocations: 47.5 kB / 0.6778 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.4381, allocations: 5.031 kB / 0.6778 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.4381, allocations: 1.469 kB / 0.6778 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.4381, allocations: 3.938 kB / 0.6778 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.14e-05/0.4382, allocations: 2.594 kB / 0.6778 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.4382, allocations: 0 / 0.6778 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.425e-05/0.4382, allocations: 5.391 kB / 0.6778 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/0.4382, allocations: 1.344 kB / 0.6778 GB, free: 15.23 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 (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.968e-05/0.4383, allocations: 111.1 kB / 0.6779 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.973e-06/0.4383, allocations: 0 / 0.6779 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.819e-05/0.4384, allocations: 12.38 kB / 0.6779 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.92e-07/0.4384, allocations: 0 / 0.6779 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.4384, allocations: 1.312 kB / 0.6779 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.4384, allocations: 0 / 0.6779 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.145e-05/0.4385, allocations: 149.6 kB / 0.6781 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.4385, allocations: 0 / 0.6781 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.995e-05/0.4385, allocations: 2.781 kB / 0.6781 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.4385, allocations: 4 kB / 0.6781 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/0.4386, allocations: 5.188 kB / 0.6781 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.4386, allocations: 3.984 kB / 0.6781 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4386, allocations: 1.375 kB / 0.6781 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001342/0.4387, allocations: 66.69 kB / 0.6782 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.232e-05/0.4387, allocations: 77.11 kB / 0.6782 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.189e-05/0.4388, allocations: 5.031 kB / 0.6783 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.188e-05/0.4388, allocations: 9.234 kB / 0.6783 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.078e-05/0.4388, allocations: 5.281 kB / 0.6783 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-06/0.4388, allocations: 0 / 0.6783 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.956e-05/0.4389, allocations: 76.59 kB / 0.6783 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.313e-06/0.4389, allocations: 0 / 0.6783 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001741/0.4391, allocations: 5.219 kB / 0.6783 GB, free: 14.64 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 (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.0001157/0.4392, allocations: 95.59 kB / 0.6784 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001384/0.4393, allocations: 16.08 kB / 0.6784 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.4393, allocations: 1.156 kB / 0.6785 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 4.656e-05/0.4394, allocations: 11.58 kB / 0.6785 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001267/0.4395, allocations: 9.203 kB / 0.6785 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002111/0.4397, allocations: 86.14 kB / 0.6786 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001842/0.4399, allocations: 0.6702 MB / 0.6792 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.873e-05/0.44, allocations: 5.344 kB / 0.6792 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.127e-05/0.44, allocations: 7.438 kB / 0.6792 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of SimCode: time 2.51e-07/0.44, allocations: 1.062 kB / 0.6792 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of Templates: time 0.001927/0.4419, allocations: 237 kB / 0.6794 GB, free: 13.59 MB / 0.5137 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)