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.0008625/0.0008627, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.0009044/0.0009044, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.176/1.176, allocations: 223.3 MB / 240 MB, free: 5.434 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.8452/0.8452, allocations: 143.2 MB / 434.2 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002716/0.0002717, allocations: 8 kB / 0.5158 GB, free: 11.57 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1273, allocations: 83.42 MB / 0.5972 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks): time 0.001526/0.1288, allocations: 1.453 MB / 0.5987 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008206/0.1296, allocations: 0.613 MB / 0.5993 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.98e-05/0.1297, allocations: 0 / 0.5993 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.895e-05/0.1297, allocations: 7.922 kB / 0.5993 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.62e-05/0.1298, allocations: 11.88 kB / 0.5993 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000422/0.1302, allocations: 148.6 kB / 0.5994 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001182/0.1303, allocations: 103.7 kB / 0.5995 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.1304, allocations: 41.27 kB / 0.5996 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.973e-05/0.1305, allocations: 51.83 kB / 0.5996 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.377e-05/0.1306, allocations: 31.78 kB / 0.5996 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.738e-05/0.1306, allocations: 4 kB / 0.5996 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.885e-05/0.1307, allocations: 43.95 kB / 0.5997 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.974e-05/0.1308, allocations: 15.92 kB / 0.5997 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.336e-05/0.1308, allocations: 41.64 kB / 0.5997 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001227/0.1309, allocations: 104 kB / 0.5998 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1309, allocations: 0 / 0.5998 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.142e-06/0.131, allocations: 0 / 0.5998 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.906e-06/0.131, allocations: 0 / 0.5998 GB, free: 5.426 MB / 0.4981 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.0004548/0.1314, allocations: 415 kB / 0.6002 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.066e-05/0.1315, allocations: 12.03 kB / 0.6003 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007002/0.1322, allocations: 143.6 kB / 0.6004 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.1323, allocations: 185.5 kB / 0.6006 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.963e-05/0.1324, allocations: 67.28 kB / 0.6006 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.01e-05/0.1324, allocations: 12 kB / 0.6006 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004408/0.1328, allocations: 195.4 kB / 0.6008 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.1329, allocations: 0 / 0.6008 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.1329, allocations: 4 kB / 0.6008 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.1329, allocations: 4 kB / 0.6008 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005161/0.1334, allocations: 195.8 kB / 0.601 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008967/0.1343, allocations: 0.5016 MB / 0.6015 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008293/0.1352, allocations: 262.3 kB / 0.6018 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002589/0.1354, allocations: 108.8 kB / 0.6019 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.627e-05/0.1355, allocations: 0 / 0.6019 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.1355, allocations: 38.56 kB / 0.6019 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 8.22e-07/0.1355, allocations: 4 kB / 0.6019 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0008424/0.1363, allocations: 309.5 kB / 0.6022 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.522e-05/0.1364, allocations: 51.41 kB / 0.6023 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.695e-05/0.1365, allocations: 137.8 kB / 0.6024 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.1365, allocations: 25.7 kB / 0.6024 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.011e-05/0.1366, allocations: 112.1 kB / 0.6025 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.137e-05/0.1366, allocations: 23.73 kB / 0.6025 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.775e-06/0.1366, allocations: 4 kB / 0.6025 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.155e-05/0.1367, allocations: 318.8 kB / 0.6028 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002614/0.137, allocations: 95.84 kB / 0.6029 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002514/0.1372, allocations: 110.5 kB / 0.603 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002538/0.1375, allocations: 96.17 kB / 0.6031 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1375, allocations: 0 / 0.6031 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005605/0.1381, allocations: 237.4 kB / 0.6034 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/0.1381, allocations: 4 kB / 0.6034 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.1381, allocations: 8.062 kB / 0.6034 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.428e-06/0.1381, allocations: 0 / 0.6034 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000219/0.1383, allocations: 43.95 kB / 0.6034 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.1383, allocations: 0 / 0.6034 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001597/0.1385, allocations: 35.88 kB / 0.6034 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.555e-05/0.1385, allocations: 15.88 kB / 0.6035 GB, free: 1.48 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.466e-05/0.1386, allocations: 121.8 kB / 0.6036 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.385e-05/0.1387, allocations: 7.906 kB / 0.6036 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006021/0.1393, allocations: 238.2 kB / 0.6038 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.1393, allocations: 0 / 0.6038 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.1393, allocations: 0 / 0.6038 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.1393, allocations: 0 / 0.6038 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002111/0.1395, allocations: 238.3 kB / 0.604 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1395, allocations: 0 / 0.604 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001954/0.1397, allocations: 47.89 kB / 0.6041 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.1397, allocations: 3.938 kB / 0.6041 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.1397, allocations: 8 kB / 0.6041 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.1397, allocations: 3.984 kB / 0.6041 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1398, allocations: 0 / 0.6041 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005755/0.1403, allocations: 319.3 kB / 0.6044 GB, free: 440 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.452e-05/0.1404, allocations: 85 kB / 0.6045 GB, free: 336 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.1404, allocations: 192 / 0.6045 GB, free: 336 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002529/0.1407, allocations: 51.95 kB / 0.6045 GB, free: 284 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.771e-05/0.1407, allocations: 7.984 kB / 0.6045 GB, free: 276 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.707e-05/0.1407, allocations: 7.984 kB / 0.6046 GB, free: 268 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.373e-05/0.1408, allocations: 109.5 kB / 0.6047 GB, free: 160 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1408, allocations: 0 / 0.6047 GB, free: 160 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002291/0.141, allocations: 27.86 kB / 0.6047 GB, free: 132 kB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001017/0.1411, allocations: 107.2 kB / 0.6048 GB, free: 16 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.2145/0.3556, allocations: 186.3 kB / 0.605 GB, free: 41.46 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.3557, allocations: 2.906 kB / 0.605 GB, free: 41.46 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002519/0.3559, allocations: 100.3 kB / 0.6051 GB, free: 41.46 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003094/0.3562, allocations: 12.38 kB / 0.6051 GB, free: 41.46 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005139/0.3568, allocations: 298.9 kB / 0.6054 GB, free: 41.29 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.957e-05/0.3569, allocations: 0.7077 MB / 0.606 GB, free: 40.6 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.993e-05/0.357, allocations: 15.44 kB / 0.6061 GB, free: 40.59 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.764e-05/0.357, allocations: 16.77 kB / 0.6061 GB, free: 40.59 MB / 0.4981 GB Notification: Performance of SimCode: time 6.31e-07/0.357, allocations: 0 / 0.6061 GB, free: 40.59 MB / 0.4981 GB Notification: Performance of Templates: time 0.002783/0.3598, allocations: 1.292 MB / 0.6073 GB, free: 40.57 MB / 0.4981 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)