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.005664/0.005664, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001113/0.001113, allocations: 196.7 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.343/1.343, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.9889/0.9889, allocations: 143 MB / 433.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 59.91 kB / 0.5955 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4325/0.4338, allocations: 82.02 MB / 0.6756 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks): time 0.004554/0.4384, allocations: 1.775 MB / 0.6774 GB, free: 284 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00143/0.4399, allocations: 0.6606 MB / 0.678 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.067e-05/0.44, allocations: 1.438 kB / 0.678 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 5.2e-05/0.4401, allocations: 13.09 kB / 0.678 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 9.976e-05/0.4402, allocations: 21 kB / 0.678 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007985/0.441, allocations: 163.4 kB / 0.6782 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002422/0.4413, allocations: 120 kB / 0.6783 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001851/0.4415, allocations: 59.72 kB / 0.6784 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001714/0.4416, allocations: 57.55 kB / 0.6784 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001336/0.4418, allocations: 52.2 kB / 0.6785 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.587e-05/0.4418, allocations: 9.281 kB / 0.6785 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001931/0.442, allocations: 45.09 kB / 0.6785 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.981e-05/0.4421, allocations: 33.36 kB / 0.6786 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 7.738e-05/0.4422, allocations: 48.98 kB / 0.6786 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003013/0.4425, allocations: 158.7 kB / 0.6788 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.4425, allocations: 4 kB / 0.6788 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.365e-06/0.4425, allocations: 1.156 kB / 0.6788 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.4425, allocations: 0 / 0.6788 GB, free: 15.24 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.0006877/0.4432, allocations: 438.6 kB / 0.6792 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.4433, allocations: 8.906 kB / 0.6792 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007872/0.4441, allocations: 108.3 kB / 0.6793 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001441/0.4442, allocations: 182.4 kB / 0.6795 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.952e-05/0.4443, allocations: 67.08 kB / 0.6795 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.031e-05/0.4443, allocations: 9.312 kB / 0.6795 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004768/0.4448, allocations: 172.8 kB / 0.6797 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.4448, allocations: 3.984 kB / 0.6797 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.034e-05/0.4449, allocations: 5.312 kB / 0.6797 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.4449, allocations: 2.375 kB / 0.6797 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005531/0.4454, allocations: 152.4 kB / 0.6799 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001088/0.4465, allocations: 488.7 kB / 0.6803 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009162/0.4475, allocations: 224.3 kB / 0.6805 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002785/0.4478, allocations: 83.25 kB / 0.6806 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.332e-05/0.4478, allocations: 1.469 kB / 0.6806 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/0.4478, allocations: 31.47 kB / 0.6807 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.4478, allocations: 0 / 0.6807 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6): time 0.0009718/0.4488, allocations: 263.6 kB / 0.6809 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/0.4489, allocations: 56.47 kB / 0.681 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.449, allocations: 143 kB / 0.6811 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.461e-05/0.449, allocations: 26.73 kB / 0.6811 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.4491, allocations: 118 kB / 0.6812 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.042e-05/0.4491, allocations: 10.06 kB / 0.6812 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.418e-05/0.4492, allocations: 28.45 kB / 0.6813 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.4494, allocations: 321.1 kB / 0.6816 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003246/0.4497, allocations: 81.14 kB / 0.6817 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003058/0.45, allocations: 94.25 kB / 0.6817 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000558/0.4506, allocations: 160.4 kB / 0.6819 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.4506, allocations: 7.938 kB / 0.6819 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006605/0.4513, allocations: 198.5 kB / 0.6821 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.4513, allocations: 4.625 kB / 0.6821 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.4513, allocations: 1.062 kB / 0.6821 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.4513, allocations: 9.094 kB / 0.6821 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002419/0.4516, allocations: 35.17 kB / 0.6821 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.4516, allocations: 1.062 kB / 0.6821 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001744/0.4517, allocations: 32.22 kB / 0.6822 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.761e-05/0.4518, allocations: 7.266 kB / 0.6822 GB, free: 12.43 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 8.938e-05/0.4519, allocations: 114 kB / 0.6823 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.123e-05/0.4519, allocations: 8.156 kB / 0.6823 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006781/0.4526, allocations: 211 kB / 0.6825 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.4526, allocations: 1.375 kB / 0.6825 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.4526, allocations: 4 kB / 0.6825 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.4526, allocations: 1.375 kB / 0.6825 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002417/0.4529, allocations: 245.4 kB / 0.6827 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.4529, allocations: 0 / 0.6827 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002056/0.4531, allocations: 35.14 kB / 0.6828 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.4531, allocations: 1.375 kB / 0.6828 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.4531, allocations: 5.312 kB / 0.6828 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.4531, allocations: 128 / 0.6828 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.4531, allocations: 4 kB / 0.6828 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006458/0.4538, allocations: 291.1 kB / 0.6831 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.435e-05/0.4539, allocations: 87.75 kB / 0.6831 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.242e-05/0.4539, allocations: 3.938 kB / 0.6831 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002827/0.4542, allocations: 33.83 kB / 0.6832 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.878e-05/0.4543, allocations: 1.312 kB / 0.6832 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.099e-05/0.4543, allocations: 11.98 kB / 0.6832 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.893e-05/0.4544, allocations: 106.6 kB / 0.6833 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4544, allocations: 0 / 0.6833 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002571/0.4546, allocations: 31.44 kB / 0.6833 GB, free: 11.44 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.0002132/0.4548, allocations: 99.44 kB / 0.6834 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0006474/0.4555, allocations: 165 kB / 0.6836 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.4555, allocations: 0 / 0.6836 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002999/0.4558, allocations: 83.42 kB / 0.6837 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003089/0.4561, allocations: 7.688 kB / 0.6837 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006421/0.4568, allocations: 253.2 kB / 0.6839 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002558/0.4571, allocations: 0.703 MB / 0.6846 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.789e-05/0.4571, allocations: 13.7 kB / 0.6846 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.77e-05/0.4572, allocations: 24.11 kB / 0.6846 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of SimCode: time 6.21e-07/0.4572, allocations: 0 / 0.6846 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of Templates: time 0.004014/0.4612, allocations: 1.506 MB / 0.6861 GB, free: 9.523 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)