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.001116/0.001116, allocations: 101.6 kB / 16.37 MB, free: 6.441 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.001176/0.001176, allocations: 195.3 kB / 17.31 MB, free: 5.812 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.327/1.327, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.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.8671/0.8671, allocations: 143.1 MB / 434.2 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 71.89 kB / 0.5156 GB, free: 14.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3696/0.371, allocations: 82.03 MB / 0.5957 GB, free: 16.14 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks): time 0.003063/0.3741, allocations: 1.776 MB / 0.5974 GB, free: 14.38 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009771/0.3751, allocations: 0.6537 MB / 0.5981 GB, free: 13.71 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.75e-05/0.3752, allocations: 0 / 0.5981 GB, free: 13.71 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.452e-05/0.3752, allocations: 12.8 kB / 0.5981 GB, free: 13.7 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.891e-05/0.3753, allocations: 15.81 kB / 0.5981 GB, free: 13.69 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005088/0.3758, allocations: 172.1 kB / 0.5983 GB, free: 13.53 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000129/0.376, allocations: 123.7 kB / 0.5984 GB, free: 13.41 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.3761, allocations: 49.69 kB / 0.5984 GB, free: 13.36 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.576e-05/0.3762, allocations: 63.77 kB / 0.5985 GB, free: 13.3 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.075e-05/0.3763, allocations: 51.7 kB / 0.5985 GB, free: 13.25 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.206e-05/0.3763, allocations: 8 kB / 0.5985 GB, free: 13.24 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.279e-05/0.3764, allocations: 57.33 kB / 0.5986 GB, free: 13.18 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.838e-05/0.3765, allocations: 23.91 kB / 0.5986 GB, free: 13.16 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.959e-05/0.3765, allocations: 59.7 kB / 0.5987 GB, free: 13.1 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001645/0.3767, allocations: 151.3 kB / 0.5988 GB, free: 12.96 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.3767, allocations: 1.281 kB / 0.5988 GB, free: 12.96 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3767, allocations: 0 / 0.5988 GB, free: 12.96 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.398e-06/0.3767, allocations: 0 / 0.5988 GB, free: 12.96 MB / 446.1 MB 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.0005055/0.3772, allocations: 438.2 kB / 0.5992 GB, free: 12.48 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.3773, allocations: 8.031 kB / 0.5992 GB, free: 12.48 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008252/0.3781, allocations: 115.5 kB / 0.5994 GB, free: 12.37 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.3782, allocations: 180.1 kB / 0.5995 GB, free: 12.15 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.569e-05/0.3783, allocations: 65.3 kB / 0.5996 GB, free: 12.08 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.065e-05/0.3784, allocations: 8.375 kB / 0.5996 GB, free: 12.07 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004452/0.3788, allocations: 171.8 kB / 0.5998 GB, free: 11.9 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.3788, allocations: 0 / 0.5998 GB, free: 11.9 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.991e-05/0.3789, allocations: 1.344 kB / 0.5998 GB, free: 11.9 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.313e-06/0.3789, allocations: 4 kB / 0.5998 GB, free: 11.89 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005084/0.3794, allocations: 162.4 kB / 0.5999 GB, free: 11.74 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001131/0.3805, allocations: 484.7 kB / 0.6004 GB, free: 11.22 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008892/0.3814, allocations: 217.9 kB / 0.6006 GB, free: 11 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003525/0.3818, allocations: 82.25 kB / 0.6007 GB, free: 10.92 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.217e-05/0.3818, allocations: 3.984 kB / 0.6007 GB, free: 10.91 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/0.3818, allocations: 35.91 kB / 0.6007 GB, free: 10.87 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.3819, allocations: 7.938 kB / 0.6007 GB, free: 10.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0008658/0.3827, allocations: 261 kB / 0.601 GB, free: 10.61 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.555e-05/0.3828, allocations: 56.67 kB / 0.601 GB, free: 10.54 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.63e-05/0.3829, allocations: 135.5 kB / 0.6011 GB, free: 10.4 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.3829, allocations: 29.7 kB / 0.6012 GB, free: 10.36 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.214e-05/0.3829, allocations: 113.1 kB / 0.6013 GB, free: 10.25 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.04e-05/0.383, allocations: 19.72 kB / 0.6013 GB, free: 10.23 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.206e-05/0.383, allocations: 23.05 kB / 0.6013 GB, free: 10.2 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.463e-05/0.3831, allocations: 322.8 kB / 0.6016 GB, free: 9.875 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002497/0.3833, allocations: 73.12 kB / 0.6017 GB, free: 9.805 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002518/0.3836, allocations: 97.2 kB / 0.6018 GB, free: 9.703 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004877/0.3841, allocations: 161 kB / 0.6019 GB, free: 9.539 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.3841, allocations: 5.094 kB / 0.602 GB, free: 9.535 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005896/0.3847, allocations: 204.7 kB / 0.6021 GB, free: 9.332 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.3847, allocations: 4 kB / 0.6022 GB, free: 9.328 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.3847, allocations: 0 / 0.6022 GB, free: 9.328 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.3847, allocations: 11.92 kB / 0.6022 GB, free: 9.316 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002425/0.385, allocations: 33.42 kB / 0.6022 GB, free: 9.285 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.385, allocations: 8.141 kB / 0.6022 GB, free: 9.277 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001717/0.3852, allocations: 29.61 kB / 0.6022 GB, free: 9.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.483e-05/0.3852, allocations: 3.938 kB / 0.6022 GB, free: 9.246 MB / 446.1 MB 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 7.187e-05/0.3853, allocations: 124.4 kB / 0.6024 GB, free: 9.117 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.93e-05/0.3853, allocations: 7.906 kB / 0.6024 GB, free: 9.109 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006112/0.3859, allocations: 204.9 kB / 0.6026 GB, free: 8.902 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.3859, allocations: 0 / 0.6026 GB, free: 8.902 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.386, allocations: 384 / 0.6026 GB, free: 8.902 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.386, allocations: 3.984 kB / 0.6026 GB, free: 8.898 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001892/0.3862, allocations: 230.9 kB / 0.6028 GB, free: 8.621 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.3862, allocations: 0 / 0.6028 GB, free: 8.621 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002097/0.3864, allocations: 41.36 kB / 0.6028 GB, free: 8.582 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.3864, allocations: 0 / 0.6028 GB, free: 8.582 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.591e-05/0.3864, allocations: 15.92 kB / 0.6028 GB, free: 8.566 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.3864, allocations: 1.469 kB / 0.6028 GB, free: 8.566 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3864, allocations: 0 / 0.6028 GB, free: 8.566 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005618/0.387, allocations: 286.7 kB / 0.6031 GB, free: 8.273 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.519e-05/0.387, allocations: 81.02 kB / 0.6032 GB, free: 8.176 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.412e-05/0.3871, allocations: 7.938 kB / 0.6032 GB, free: 8.168 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002716/0.3873, allocations: 34.64 kB / 0.6032 GB, free: 8.137 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.661e-05/0.3874, allocations: 3.984 kB / 0.6032 GB, free: 8.133 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-05/0.3874, allocations: 4 kB / 0.6032 GB, free: 8.129 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.591e-05/0.3875, allocations: 113.4 kB / 0.6033 GB, free: 8.02 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3875, allocations: 2.281 kB / 0.6033 GB, free: 8.02 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002556/0.3877, allocations: 27.88 kB / 0.6034 GB, free: 7.992 MB / 446.1 MB 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.0001016/0.3878, allocations: 103.2 kB / 0.6035 GB, free: 7.883 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005831/0.3884, allocations: 162.1 kB / 0.6036 GB, free: 7.727 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3884, allocations: 0.9375 kB / 0.6036 GB, free: 7.727 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002604/0.3887, allocations: 84.88 kB / 0.6037 GB, free: 7.645 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002692/0.389, allocations: 11.47 kB / 0.6037 GB, free: 7.637 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005584/0.3895, allocations: 253.1 kB / 0.604 GB, free: 7.363 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001082/0.3897, allocations: 0.7007 MB / 0.6046 GB, free: 6.637 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.029e-05/0.3897, allocations: 16.23 kB / 0.6047 GB, free: 6.625 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.39e-05/0.3898, allocations: 11.44 kB / 0.6047 GB, free: 6.613 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3898, allocations: 0 / 0.6047 GB, free: 6.613 MB / 446.1 MB Notification: Performance of Templates: time 0.003262/0.3931, allocations: 1.476 MB / 0.6061 GB, free: 5.18 MB / 446.1 MB 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 -s gbode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)