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.0009995/0.0009995, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001242/0.001243, allocations: 199.5 kB / 16.14 MB, free: 6.746 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.375/1.375, allocations: 222.9 MB / 239.8 MB, free: 4.586 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.955/0.955, allocations: 143 MB / 433 MB, free: 11.58 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 63.89 kB / 0.5136 GB, free: 12.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1498, allocations: 82.04 MB / 0.5937 GB, free: 9.961 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks): time 0.002994/0.1528, allocations: 1.827 MB / 0.5955 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001016/0.1538, allocations: 0.6516 MB / 0.5961 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.447e-05/0.1539, allocations: 4 kB / 0.5961 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.967e-05/0.154, allocations: 3.938 kB / 0.5962 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.076e-05/0.154, allocations: 11.86 kB / 0.5962 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004779/0.1545, allocations: 152 kB / 0.5963 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001269/0.1546, allocations: 119.7 kB / 0.5964 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001425/0.1548, allocations: 49.09 kB / 0.5965 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001666/0.155, allocations: 59.7 kB / 0.5965 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.122e-05/0.155, allocations: 47.77 kB / 0.5966 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.565e-05/0.1551, allocations: 8 kB / 0.5966 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001019/0.1552, allocations: 43.95 kB / 0.5966 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.165e-05/0.1552, allocations: 23.91 kB / 0.5966 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.15e-05/0.1553, allocations: 55.7 kB / 0.5967 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002154/0.1555, allocations: 147.8 kB / 0.5968 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1555, allocations: 3.938 kB / 0.5968 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of FrontEnd: time 6.11e-07/0.1555, allocations: 0 / 0.5968 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.1555, allocations: 0 / 0.5968 GB, free: 6.742 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.0006263/0.1562, allocations: 439 kB / 0.5973 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.1562, allocations: 8.031 kB / 0.5973 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.202e-05/0.1563, allocations: 38.75 kB / 0.5973 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007882/0.1571, allocations: 112.7 kB / 0.5974 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.1572, allocations: 188 kB / 0.5976 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.878e-05/0.1573, allocations: 63.97 kB / 0.5977 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.349e-05/0.1573, allocations: 8.375 kB / 0.5977 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000518/0.1578, allocations: 173.5 kB / 0.5978 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.1579, allocations: 4 kB / 0.5978 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.144e-05/0.1579, allocations: 4 kB / 0.5978 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.1579, allocations: 4 kB / 0.5978 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005834/0.1585, allocations: 155.8 kB / 0.598 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001024/0.1595, allocations: 489.6 kB / 0.5985 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000962/0.1605, allocations: 222.3 kB / 0.5987 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002723/0.1608, allocations: 80.91 kB / 0.5987 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.1608, allocations: 0 / 0.5987 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.803e-05/0.1608, allocations: 30.56 kB / 0.5988 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.1608, allocations: 4 kB / 0.5988 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.001042/0.1619, allocations: 261.5 kB / 0.599 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.868e-05/0.1619, allocations: 55.41 kB / 0.5991 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.162, allocations: 144.1 kB / 0.5992 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.751e-05/0.1621, allocations: 33.64 kB / 0.5992 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.862e-05/0.1621, allocations: 108.2 kB / 0.5994 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.172e-05/0.1622, allocations: 23.64 kB / 0.5994 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.48e-05/0.1622, allocations: 29.64 kB / 0.5994 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.1623, allocations: 318.8 kB / 0.5997 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002873/0.1626, allocations: 79.91 kB / 0.5998 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002864/0.1629, allocations: 94.48 kB / 0.5999 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005493/0.1635, allocations: 162.4 kB / 0.6 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.1635, allocations: 3.984 kB / 0.6 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006078/0.1641, allocations: 201.4 kB / 0.6002 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.1641, allocations: 4 kB / 0.6002 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.1641, allocations: 7.922 kB / 0.6002 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.1642, allocations: 4 kB / 0.6002 GB, free: 3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000248/0.1644, allocations: 31.95 kB / 0.6003 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.78e-06/0.1644, allocations: 0 / 0.6003 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001791/0.1646, allocations: 32.03 kB / 0.6003 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/0.1646, allocations: 0 / 0.6003 GB, free: 2.938 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 0.0001323/0.1648, allocations: 117.8 kB / 0.6004 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.431e-05/0.1648, allocations: 11.91 kB / 0.6004 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000654/0.1655, allocations: 210.4 kB / 0.6006 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.1655, allocations: 64 / 0.6006 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.1655, allocations: 7.938 kB / 0.6006 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.1655, allocations: 0 / 0.6006 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000233/0.1657, allocations: 238.3 kB / 0.6009 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1658, allocations: 0 / 0.6009 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002178/0.166, allocations: 35.95 kB / 0.6009 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.166, allocations: 0 / 0.6009 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.166, allocations: 7.938 kB / 0.6009 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.166, allocations: 0 / 0.6009 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.166, allocations: 0 / 0.6009 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006339/0.1667, allocations: 291.2 kB / 0.6012 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.538e-05/0.1667, allocations: 85 kB / 0.6013 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.647e-05/0.1667, allocations: 11.94 kB / 0.6013 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002741/0.167, allocations: 27.95 kB / 0.6013 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.948e-05/0.1671, allocations: 3.984 kB / 0.6013 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/0.1671, allocations: 7.984 kB / 0.6013 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.563e-05/0.1672, allocations: 110.2 kB / 0.6014 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1672, allocations: 3.938 kB / 0.6014 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002478/0.1674, allocations: 24 kB / 0.6014 GB, free: 1.668 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.00106/0.1685, allocations: 0.8215 MB / 0.6022 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006349/0.1691, allocations: 163.8 kB / 0.6024 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1692, allocations: 0 / 0.6024 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002744/0.1694, allocations: 79.86 kB / 0.6025 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000321/0.1698, allocations: 8 kB / 0.6025 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2483/0.418, allocations: 1.854 MB / 0.6043 GB, free: 43.1 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001306/0.4182, allocations: 0.6993 MB / 0.605 GB, free: 42.41 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001198/0.4183, allocations: 15.34 kB / 0.605 GB, free: 42.41 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.157e-05/0.4184, allocations: 31.91 kB / 0.605 GB, free: 42.4 MB / 0.4981 GB Notification: Performance of SimCode: time 9.41e-07/0.4184, allocations: 0 / 0.605 GB, free: 42.4 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01145/0.4299, allocations: 2.517 MB / 0.6075 GB, free: 42.23 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001404/0.4301, allocations: 210.9 kB / 0.6077 GB, free: 41.98 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.756/2.186, allocations: 0 / 0.6077 GB, free: 41.98 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)