Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.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.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006883/0.006883, allocations: 103.5 kB / 15.73 MB, free: 6.035 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.001491/0.001492, allocations: 198.8 kB / 16.67 MB, free: 5.969 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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.031/1.031, allocations: 143 MB / 433.6 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 71.89 kB / 0.5955 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4263/0.4276, allocations: 82.03 MB / 0.6756 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks): time 0.002453/0.4301, allocations: 1.768 MB / 0.6774 GB, free: 84 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001042/0.4311, allocations: 0.6617 MB / 0.678 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.377e-05/0.4312, allocations: 1.375 kB / 0.678 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 4.511e-05/0.4312, allocations: 11.86 kB / 0.678 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.001e-05/0.4313, allocations: 14.03 kB / 0.678 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005139/0.4318, allocations: 167.2 kB / 0.6782 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001571/0.432, allocations: 128.1 kB / 0.6783 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.4321, allocations: 47 kB / 0.6784 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001195/0.4323, allocations: 56.95 kB / 0.6784 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 8.418e-05/0.4323, allocations: 56.5 kB / 0.6785 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.674e-05/0.4324, allocations: 13.69 kB / 0.6785 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.4325, allocations: 45.25 kB / 0.6785 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.15e-05/0.4325, allocations: 29.19 kB / 0.6786 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 5.177e-05/0.4326, allocations: 56.88 kB / 0.6786 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002089/0.4328, allocations: 152.6 kB / 0.6788 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.4328, allocations: 0 / 0.6788 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.673e-06/0.4328, allocations: 5.031 kB / 0.6788 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.518e-06/0.4328, allocations: 0 / 0.6788 GB, free: 15.05 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005721/0.4334, allocations: 441 kB / 0.6792 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.4334, allocations: 9.312 kB / 0.6792 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008593/0.4343, allocations: 108.4 kB / 0.6793 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.4344, allocations: 190.8 kB / 0.6795 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.479e-05/0.4345, allocations: 62.86 kB / 0.6795 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.107e-05/0.4346, allocations: 9.969 kB / 0.6795 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005308/0.4351, allocations: 172.8 kB / 0.6797 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.4351, allocations: 0 / 0.6797 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.234e-05/0.4351, allocations: 5.25 kB / 0.6797 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.4352, allocations: 1.406 kB / 0.6797 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00063/0.4358, allocations: 153.2 kB / 0.6799 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001115/0.4369, allocations: 480.9 kB / 0.6803 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001036/0.438, allocations: 223.4 kB / 0.6805 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003107/0.4383, allocations: 79.31 kB / 0.6806 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.618e-05/0.4383, allocations: 5.094 kB / 0.6806 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.051e-05/0.4384, allocations: 39.73 kB / 0.6807 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=6): time 1.433e-06/0.4384, allocations: 1.125 kB / 0.6807 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6): time 0.00106/0.4394, allocations: 263.3 kB / 0.6809 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.309e-05/0.4395, allocations: 56.38 kB / 0.681 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.4396, allocations: 145.9 kB / 0.6811 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.51e-05/0.4396, allocations: 25.7 kB / 0.6811 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.697e-05/0.4397, allocations: 118 kB / 0.6812 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.136e-05/0.4397, allocations: 10.28 kB / 0.6812 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.602e-05/0.4398, allocations: 28.02 kB / 0.6813 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.4399, allocations: 325.7 kB / 0.6816 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003056/0.4402, allocations: 68.52 kB / 0.6816 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003199/0.4405, allocations: 98.34 kB / 0.6817 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005803/0.4411, allocations: 164.7 kB / 0.6819 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.4411, allocations: 0 / 0.6819 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000676/0.4418, allocations: 202.2 kB / 0.6821 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.4418, allocations: 5.719 kB / 0.6821 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.4419, allocations: 3.984 kB / 0.6821 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.4419, allocations: 5.062 kB / 0.6821 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002685/0.4422, allocations: 42.98 kB / 0.6821 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.4422, allocations: 1.156 kB / 0.6821 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001963/0.4424, allocations: 28.38 kB / 0.6822 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.632e-05/0.4424, allocations: 6.672 kB / 0.6822 GB, free: 12.23 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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.572e-05/0.4425, allocations: 118.5 kB / 0.6823 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.355e-05/0.4425, allocations: 12.34 kB / 0.6823 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007372/0.4433, allocations: 207.8 kB / 0.6825 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.4433, allocations: 0 / 0.6825 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.4433, allocations: 1.375 kB / 0.6825 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.4433, allocations: 4 kB / 0.6825 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002534/0.4436, allocations: 241.8 kB / 0.6827 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.4436, allocations: 1.375 kB / 0.6827 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002265/0.4438, allocations: 39.14 kB / 0.6828 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.4438, allocations: 0 / 0.6828 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.4438, allocations: 5.312 kB / 0.6828 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.4439, allocations: 0 / 0.6828 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.4439, allocations: 5.359 kB / 0.6828 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006868/0.4445, allocations: 286.3 kB / 0.6831 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.819e-05/0.4446, allocations: 87.81 kB / 0.6831 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.409e-05/0.4446, allocations: 3.938 kB / 0.6831 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000312/0.4449, allocations: 32.83 kB / 0.6832 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.005e-05/0.445, allocations: 2.844 kB / 0.6832 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.992e-05/0.445, allocations: 12.02 kB / 0.6832 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.745e-05/0.4451, allocations: 106.4 kB / 0.6833 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4451, allocations: 0 / 0.6833 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000271/0.4454, allocations: 27.44 kB / 0.6833 GB, free: 11.25 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 (6): * Single equations (assignments): 6 * 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.0001577/0.4455, allocations: 96.5 kB / 0.6834 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007225/0.4463, allocations: 168.7 kB / 0.6836 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.4463, allocations: 0 / 0.6836 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003307/0.4466, allocations: 86.73 kB / 0.6837 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003662/0.447, allocations: 11.89 kB / 0.6837 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007016/0.4477, allocations: 239 kB / 0.6839 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003001/0.448, allocations: 0.7038 MB / 0.6846 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 9.407e-05/0.4481, allocations: 9.656 kB / 0.6846 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.518e-05/0.4482, allocations: 19.58 kB / 0.6846 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of SimCode: time 2.91e-07/0.4482, allocations: 4 kB / 0.6846 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of Templates: time 0.003949/0.4521, allocations: 1.484 MB / 0.6861 GB, free: 9.355 MB / 0.5137 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)