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: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008773/0.0008772, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.006952/0.006953, allocations: 171.5 kB / 16.26 MB, free: 6.613 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.407/1.407, allocations: 223.3 MB / 240.3 MB, free: 5.359 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.9915/0.9915, allocations: 143.2 MB / 434.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003345/0.0003345, allocations: 12 kB / 0.5165 GB, free: 11.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.1711, allocations: 83.41 MB / 0.598 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks): time 0.001953/0.1731, allocations: 1.488 MB / 0.5994 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001029/0.1741, allocations: 0.6361 MB / 0.6 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.089e-05/0.1742, allocations: 0 / 0.6 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.605e-05/0.1742, allocations: 11.86 kB / 0.6 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.721e-05/0.1743, allocations: 11.92 kB / 0.6001 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004821/0.1748, allocations: 156.6 kB / 0.6002 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001355/0.1749, allocations: 123.6 kB / 0.6003 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.175, allocations: 41.11 kB / 0.6004 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001146/0.1752, allocations: 51.77 kB / 0.6004 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.858e-05/0.1752, allocations: 35.78 kB / 0.6004 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.1753, allocations: 4 kB / 0.6004 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.742e-05/0.1754, allocations: 39.97 kB / 0.6005 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.762e-05/0.1754, allocations: 19.91 kB / 0.6005 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.233e-05/0.1755, allocations: 81.41 kB / 0.6006 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001825/0.1757, allocations: 131.8 kB / 0.6007 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1757, allocations: 4 kB / 0.6007 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.293e-06/0.1757, allocations: 0 / 0.6007 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.1757, allocations: 0 / 0.6007 GB, free: 4.812 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.0005253/0.1762, allocations: 419.1 kB / 0.6011 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.1763, allocations: 12.03 kB / 0.6011 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.703e-05/0.1763, allocations: 42.75 kB / 0.6012 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008485/0.1772, allocations: 136.6 kB / 0.6013 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001471/0.1773, allocations: 188.1 kB / 0.6015 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.683e-05/0.1774, allocations: 63.97 kB / 0.6015 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.454e-05/0.1775, allocations: 16.38 kB / 0.6015 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005545/0.178, allocations: 195.4 kB / 0.6017 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.1781, allocations: 3.984 kB / 0.6017 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.252e-05/0.1781, allocations: 4 kB / 0.6017 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.1781, allocations: 4 kB / 0.6017 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006639/0.1788, allocations: 191.8 kB / 0.6019 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001083/0.1799, allocations: 0.4938 MB / 0.6024 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001088/0.181, allocations: 282.2 kB / 0.6027 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003311/0.1813, allocations: 96.91 kB / 0.6028 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.289e-05/0.1813, allocations: 4 kB / 0.6028 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.1814, allocations: 38.5 kB / 0.6028 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.1814, allocations: 0 / 0.6028 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.001087/0.1825, allocations: 317.4 kB / 0.6031 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.226e-05/0.1825, allocations: 59.41 kB / 0.6032 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.1826, allocations: 144.4 kB / 0.6033 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.514e-05/0.1827, allocations: 25.7 kB / 0.6033 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.824e-05/0.1827, allocations: 108.2 kB / 0.6034 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.897e-05/0.1828, allocations: 23.64 kB / 0.6035 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.025e-05/0.1828, allocations: 13.72 kB / 0.6035 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.1829, allocations: 322.8 kB / 0.6038 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003249/0.1832, allocations: 87.92 kB / 0.6039 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003282/0.1836, allocations: 114.4 kB / 0.604 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006365/0.1842, allocations: 202.4 kB / 0.6042 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1842, allocations: 0 / 0.6042 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007321/0.185, allocations: 245.4 kB / 0.6044 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.185, allocations: 4 kB / 0.6044 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.185, allocations: 3.938 kB / 0.6044 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.185, allocations: 0 / 0.6044 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002799/0.1853, allocations: 47.95 kB / 0.6045 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.1853, allocations: 0 / 0.6045 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001983/0.1855, allocations: 27.97 kB / 0.6045 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.652e-05/0.1856, allocations: 7.984 kB / 0.6045 GB, free: 0.6797 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.843e-05/0.1857, allocations: 121.8 kB / 0.6046 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.804e-05/0.1857, allocations: 11.91 kB / 0.6046 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007519/0.1865, allocations: 242.1 kB / 0.6048 GB, free: 300 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1865, allocations: 4 kB / 0.6049 GB, free: 296 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.1865, allocations: 4 kB / 0.6049 GB, free: 292 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1865, allocations: 0 / 0.6049 GB, free: 292 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002479/0.1867, allocations: 234.4 kB / 0.6051 GB, free: 8 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1868, allocations: 0 / 0.6051 GB, free: 8 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.2714/0.4582, allocations: 37.52 kB / 0.6051 GB, free: 40.87 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.167e-06/0.4582, allocations: 0 / 0.6051 GB, free: 40.87 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.201e-05/0.4583, allocations: 6.984 kB / 0.6051 GB, free: 40.87 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.4583, allocations: 0.9375 kB / 0.6051 GB, free: 40.87 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.4583, allocations: 5.016 kB / 0.6051 GB, free: 40.87 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008674/0.4592, allocations: 320.3 kB / 0.6054 GB, free: 40.74 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.218e-05/0.4593, allocations: 86.98 kB / 0.6055 GB, free: 40.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.268e-05/0.4593, allocations: 5.562 kB / 0.6055 GB, free: 40.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003226/0.4596, allocations: 44.52 kB / 0.6056 GB, free: 40.64 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.923e-05/0.4597, allocations: 7.234 kB / 0.6056 GB, free: 40.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.051e-05/0.4597, allocations: 5.562 kB / 0.6056 GB, free: 40.64 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.823e-05/0.4598, allocations: 108.2 kB / 0.6057 GB, free: 40.57 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.6e-07/0.4598, allocations: 0.8438 kB / 0.6057 GB, free: 40.57 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004658/0.4603, allocations: 20.44 kB / 0.6057 GB, free: 40.57 MB / 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 (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.001248/0.4615, allocations: 0.8633 MB / 0.6065 GB, free: 39.91 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009307/0.4625, allocations: 204.9 kB / 0.6067 GB, free: 39.91 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.4625, allocations: 0 / 0.6067 GB, free: 39.91 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000428/0.4629, allocations: 93.2 kB / 0.6068 GB, free: 39.91 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004561/0.4634, allocations: 19.66 kB / 0.6068 GB, free: 39.91 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00388/0.4673, allocations: 1.953 MB / 0.6088 GB, free: 38.68 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001474/0.4675, allocations: 0.7064 MB / 0.6094 GB, free: 37.99 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001477/0.4676, allocations: 23.75 kB / 0.6095 GB, free: 37.98 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/0.4677, allocations: 27.06 kB / 0.6095 GB, free: 37.98 MB / 0.4981 GB Notification: Performance of SimCode: time 1.573e-06/0.4677, allocations: 0 / 0.6095 GB, free: 37.98 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01459/0.4823, allocations: 2.456 MB / 0.6119 GB, free: 37.83 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001547/0.4825, allocations: 202.7 kB / 0.6121 GB, free: 37.57 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.657/2.139, allocations: 0 / 0.6121 GB, free: 37.57 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothBlocks_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothBlocks.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)