Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.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.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007934/0.007934, allocations: 97.55 kB / 15.73 MB, free: 6.051 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.001684/0.001685, allocations: 194.4 kB / 16.67 MB, free: 5.977 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.356/1.356, allocations: 222.9 MB / 240.4 MB, free: 4.34 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.983/0.983, allocations: 143 MB / 433.6 MB, free: 11.51 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 63.91 kB / 0.5955 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4339/0.4351, allocations: 82.03 MB / 0.6756 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside): time 0.0022/0.4374, allocations: 1.429 MB / 0.677 GB, free: 348 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007319/0.4381, allocations: 472 kB / 0.6775 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.468e-05/0.4382, allocations: 0 / 0.6775 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.849e-05/0.4382, allocations: 4.969 kB / 0.6775 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.286e-05/0.4383, allocations: 7.938 kB / 0.6775 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002034/0.4385, allocations: 26.86 kB / 0.6775 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.784e-05/0.4386, allocations: 26.03 kB / 0.6775 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.196e-05/0.4387, allocations: 11.61 kB / 0.6775 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 6.237e-05/0.4388, allocations: 7.125 kB / 0.6776 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.685e-05/0.4388, allocations: 15.39 kB / 0.6776 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.174e-05/0.4388, allocations: 6.188 kB / 0.6776 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 7.646e-05/0.4389, allocations: 18.02 kB / 0.6776 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.251e-05/0.4389, allocations: 5.047 kB / 0.6776 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.37e-05/0.439, allocations: 18.11 kB / 0.6776 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001007/0.4391, allocations: 29.16 kB / 0.6776 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.4391, allocations: 0 / 0.6776 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.382e-06/0.4391, allocations: 1.094 kB / 0.6776 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.4391, allocations: 0 / 0.6776 GB, free: 15.86 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.0004643/0.4396, allocations: 342.7 kB / 0.678 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.4396, allocations: 14.47 kB / 0.678 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.978e-05/0.4396, allocations: 2.406 kB / 0.678 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.4398, allocations: 165.7 kB / 0.6781 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.4398, allocations: 4.375 kB / 0.6781 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.13e-05/0.4398, allocations: 5.719 kB / 0.6782 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001862/0.44, allocations: 53.61 kB / 0.6782 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.44, allocations: 0 / 0.6782 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.44, allocations: 0.9375 kB / 0.6782 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.4401, allocations: 1.094 kB / 0.6782 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001623/0.4402, allocations: 30.69 kB / 0.6782 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003581/0.4406, allocations: 269.2 kB / 0.6785 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001278/0.4407, allocations: 39.56 kB / 0.6785 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.552e-05/0.4408, allocations: 22.39 kB / 0.6786 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001442/0.441, allocations: 84.8 kB / 0.6786 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.441, allocations: 35.56 kB / 0.6787 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 2.795e-06/0.441, allocations: 0 / 0.6787 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0003517/0.4414, allocations: 84.67 kB / 0.6787 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/0.4414, allocations: 52.62 kB / 0.6788 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.713e-05/0.4415, allocations: 103.7 kB / 0.6789 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.4415, allocations: 29.7 kB / 0.6789 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.667e-05/0.4416, allocations: 85.48 kB / 0.679 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.204e-05/0.4416, allocations: 6.891 kB / 0.679 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.385e-05/0.4417, allocations: 15.88 kB / 0.679 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.4418, allocations: 316 kB / 0.6793 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.181e-05/0.4419, allocations: 13.27 kB / 0.6793 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.813e-05/0.442, allocations: 17.7 kB / 0.6794 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001462/0.4421, allocations: 48 kB / 0.6794 GB, free: 14 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.4421, allocations: 0 / 0.6794 GB, free: 14 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001909/0.4423, allocations: 61.02 kB / 0.6795 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.4424, allocations: 5.625 kB / 0.6795 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.4424, allocations: 0 / 0.6795 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.4424, allocations: 5.25 kB / 0.6795 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.099e-05/0.4425, allocations: 10.23 kB / 0.6795 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.4425, allocations: 8 kB / 0.6795 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.043e-05/0.4426, allocations: 12.14 kB / 0.6795 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.4426, allocations: 0 / 0.6795 GB, free: 13.93 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 9.148e-05/0.4427, allocations: 111.9 kB / 0.6796 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.721e-05/0.4427, allocations: 5.219 kB / 0.6796 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002305/0.4429, allocations: 72.06 kB / 0.6797 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.4429, allocations: 4.031 kB / 0.6797 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.443, allocations: 0 / 0.6797 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.443, allocations: 1.438 kB / 0.6797 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001662/0.4431, allocations: 165.7 kB / 0.6798 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.4431, allocations: 0 / 0.6798 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.899e-05/0.4432, allocations: 13.98 kB / 0.6799 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.4432, allocations: 1.219 kB / 0.6799 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/0.4432, allocations: 0 / 0.6799 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.4432, allocations: 1.062 kB / 0.6799 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4432, allocations: 0 / 0.6799 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002493/0.4435, allocations: 167.4 kB / 0.68 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.052e-05/0.4435, allocations: 78.17 kB / 0.6801 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.304e-05/0.4436, allocations: 5.125 kB / 0.6801 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.449e-05/0.4436, allocations: 7.422 kB / 0.6801 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.859e-05/0.4437, allocations: 1.094 kB / 0.6801 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.4437, allocations: 5.156 kB / 0.6801 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.627e-05/0.4437, allocations: 83.66 kB / 0.6802 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4438, allocations: 0 / 0.6802 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002252/0.444, allocations: 13.48 kB / 0.6802 GB, free: 13.19 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.0001689/0.4442, allocations: 98.75 kB / 0.6803 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002094/0.4444, allocations: 36.22 kB / 0.6803 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4444, allocations: 5.344 kB / 0.6803 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.364e-05/0.4445, allocations: 22.69 kB / 0.6804 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002926/0.4448, allocations: 11.88 kB / 0.6804 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002825/0.4451, allocations: 108.3 kB / 0.6805 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002602/0.4453, allocations: 0.6771 MB / 0.6811 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.474e-05/0.4454, allocations: 1.375 kB / 0.6811 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.195e-05/0.4454, allocations: 12.62 kB / 0.6812 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of SimCode: time 2.51e-07/0.4454, allocations: 0 / 0.6812 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of Templates: time 0.002961/0.4484, allocations: 0.5949 MB / 0.6817 GB, free: 11.92 MB / 0.5137 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)