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.008563/0.008563, allocations: 101.2 kB / 15.73 MB, free: 6.039 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.001121/0.001121, allocations: 198.5 kB / 16.68 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.393/1.393, allocations: 222.9 MB / 240.4 MB, free: 4.184 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.9647/0.9647, allocations: 143 MB / 433.5 MB, free: 11.35 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001644/0.001645, allocations: 67.89 kB / 0.5955 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4459/0.4476, allocations: 82.03 MB / 0.6756 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside): time 0.002188/0.4498, allocations: 1.428 MB / 0.677 GB, free: 292 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007308/0.4506, allocations: 474.4 kB / 0.6775 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.602e-05/0.4506, allocations: 1.406 kB / 0.6775 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.392e-05/0.4506, allocations: 0 / 0.6775 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.983e-05/0.4507, allocations: 5.375 kB / 0.6775 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002239/0.451, allocations: 26.2 kB / 0.6775 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.661e-05/0.451, allocations: 25.23 kB / 0.6775 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.367e-05/0.4511, allocations: 15.39 kB / 0.6776 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 6.616e-05/0.4512, allocations: 12 kB / 0.6776 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.717e-05/0.4513, allocations: 19.16 kB / 0.6776 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.244e-05/0.4513, allocations: 2.469 kB / 0.6776 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 8.19e-05/0.4514, allocations: 17.27 kB / 0.6776 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.528e-05/0.4514, allocations: 5.281 kB / 0.6776 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.597e-05/0.4514, allocations: 6.094 kB / 0.6776 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001171/0.4516, allocations: 37.16 kB / 0.6776 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.4516, allocations: 7.938 kB / 0.6777 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.482e-06/0.4516, allocations: 1.469 kB / 0.6777 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.4516, allocations: 0 / 0.6777 GB, free: 15.79 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.000523/0.4521, allocations: 340.9 kB / 0.678 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.4522, allocations: 10.19 kB / 0.678 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.827e-05/0.4522, allocations: 2.344 kB / 0.678 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.923e-05/0.4523, allocations: 165.8 kB / 0.6782 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.4523, allocations: 1.906 kB / 0.6782 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.538e-06/0.4523, allocations: 4.375 kB / 0.6782 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.4525, allocations: 57.97 kB / 0.6782 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.4525, allocations: 0 / 0.6782 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.4526, allocations: 9.156 kB / 0.6782 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.4526, allocations: 0 / 0.6782 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001897/0.4528, allocations: 31.22 kB / 0.6783 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003218/0.4531, allocations: 257.6 kB / 0.6785 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001214/0.4532, allocations: 38.81 kB / 0.6785 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.637e-05/0.4533, allocations: 23.09 kB / 0.6786 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001184/0.4534, allocations: 83.62 kB / 0.6786 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.4535, allocations: 32.5 kB / 0.6787 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.313e-06/0.4535, allocations: 0 / 0.6787 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0003455/0.4538, allocations: 88.52 kB / 0.6788 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.309e-05/0.4539, allocations: 52.44 kB / 0.6788 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.373e-05/0.454, allocations: 107.6 kB / 0.6789 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.454, allocations: 26.86 kB / 0.6789 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.86e-05/0.454, allocations: 81.11 kB / 0.679 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.937e-05/0.4541, allocations: 6.734 kB / 0.679 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-05/0.4541, allocations: 20.81 kB / 0.679 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.4542, allocations: 310.8 kB / 0.6793 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.77e-05/0.4543, allocations: 22.12 kB / 0.6794 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.13e-05/0.4544, allocations: 13.05 kB / 0.6794 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001496/0.4545, allocations: 40.73 kB / 0.6794 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.4546, allocations: 4 kB / 0.6794 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001912/0.4547, allocations: 72.81 kB / 0.6795 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.4548, allocations: 5.062 kB / 0.6795 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.4548, allocations: 0 / 0.6795 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.4548, allocations: 5.406 kB / 0.6795 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.221e-05/0.4549, allocations: 9.047 kB / 0.6795 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.4549, allocations: 1.062 kB / 0.6795 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.116e-05/0.455, allocations: 11.23 kB / 0.6795 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.461e-06/0.455, allocations: 1.781 kB / 0.6795 GB, free: 13.88 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.165e-05/0.455, allocations: 111 kB / 0.6796 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.525e-05/0.4551, allocations: 4.969 kB / 0.6796 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002296/0.4553, allocations: 75.06 kB / 0.6797 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.4553, allocations: 1.344 kB / 0.6797 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.4553, allocations: 0 / 0.6797 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.4554, allocations: 4.031 kB / 0.6797 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002124/0.4556, allocations: 162.1 kB / 0.6799 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.4556, allocations: 1.188 kB / 0.6799 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.712e-05/0.4556, allocations: 6.125 kB / 0.6799 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.4557, allocations: 3.984 kB / 0.6799 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-06/0.4557, allocations: 1.375 kB / 0.6799 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.4557, allocations: 256 / 0.6799 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.4557, allocations: 0 / 0.6799 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002265/0.4559, allocations: 167.4 kB / 0.68 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.456, allocations: 82.3 kB / 0.6801 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.456, allocations: 5.062 kB / 0.6801 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.44e-05/0.4561, allocations: 3.406 kB / 0.6801 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.179e-05/0.4561, allocations: 9.047 kB / 0.6801 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.4562, allocations: 1.094 kB / 0.6801 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.478e-05/0.4562, allocations: 83.81 kB / 0.6802 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4562, allocations: 4.031 kB / 0.6802 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002187/0.4564, allocations: 9.656 kB / 0.6802 GB, free: 13.14 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.0001465/0.4566, allocations: 102 kB / 0.6803 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000204/0.4568, allocations: 33.69 kB / 0.6803 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.4568, allocations: 0 / 0.6803 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.688e-05/0.4569, allocations: 27.34 kB / 0.6804 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002759/0.4572, allocations: 11.03 kB / 0.6804 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002551/0.4574, allocations: 116.9 kB / 0.6805 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002485/0.4577, allocations: 0.673 MB / 0.6811 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.729e-05/0.4577, allocations: 5.141 kB / 0.6812 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.871e-05/0.4578, allocations: 8.688 kB / 0.6812 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of SimCode: time 2.3e-07/0.4578, allocations: 1.125 kB / 0.6812 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of Templates: time 0.002516/0.4603, allocations: 0.5724 MB / 0.6817 GB, free: 11.88 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)