Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.444/1.444, allocations: 288.4 MB / 303.6 MB, free: 8.055 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008977/0.0008976, allocations: 190.8 kB / 372.3 MB, free: 10.1 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.145/1.145, allocations: 205.4 MB / 0.631 GB, free: 9.852 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007014/0.0007014, allocations: 92.84 kB / 0.7444 GB, free: 5.773 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004265/0.0004265, allocations: 17.38 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1648, allocations: 115.3 MB / 0.9802 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.001208/0.166, allocations: 1.141 MB / 0.9813 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0005929/0.1666, allocations: 0.4898 MB / 0.9818 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.867e-05/0.1667, allocations: 4 kB / 0.9818 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.421e-05/0.1667, allocations: 0 / 0.9818 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.811e-05/0.1668, allocations: 3.938 kB / 0.9818 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001597/0.1669, allocations: 19.97 kB / 0.9818 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.908e-05/0.167, allocations: 23.92 kB / 0.9818 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.64e-05/0.1671, allocations: 4 kB / 0.9818 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.315e-05/0.1671, allocations: 7.938 kB / 0.9818 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.057e-05/0.1672, allocations: 15.92 kB / 0.9819 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.028e-05/0.1672, allocations: 0 / 0.9819 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.91e-05/0.1673, allocations: 19.98 kB / 0.9819 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.797e-06/0.1673, allocations: 3.938 kB / 0.9819 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.751e-05/0.1673, allocations: 41.61 kB / 0.9819 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.338e-05/0.1674, allocations: 19.97 kB / 0.9819 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1674, allocations: 0 / 0.9819 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1674, allocations: 0 / 0.9819 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.965e-06/0.1674, allocations: 0 / 0.9819 GB, free: 25.41 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000299/0.1677, allocations: 347.7 kB / 0.9823 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.194e-05/0.1678, allocations: 12.03 kB / 0.9823 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.648e-05/0.1678, allocations: 30.75 kB / 0.9823 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.864e-05/0.1678, allocations: 0.9375 kB / 0.9823 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.906e-05/0.1679, allocations: 172.2 kB / 0.9825 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.328e-06/0.1679, allocations: 384 / 0.9825 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.203e-06/0.1679, allocations: 384 / 0.9825 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/0.1681, allocations: 61.8 kB / 0.9825 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.1681, allocations: 4 kB / 0.9825 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.223e-06/0.1681, allocations: 4 kB / 0.9825 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.1681, allocations: 3.984 kB / 0.9825 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001647/0.1683, allocations: 51.95 kB / 0.9826 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000226/0.1685, allocations: 248.9 kB / 0.9828 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001104/0.1686, allocations: 42.5 kB / 0.9829 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.053e-05/0.1687, allocations: 32.91 kB / 0.9829 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.758e-05/0.1688, allocations: 85.09 kB / 0.983 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.048e-05/0.1688, allocations: 30.56 kB / 0.983 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.1689, allocations: 0 / 0.983 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0003139/0.1692, allocations: 101.6 kB / 0.9831 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.825e-05/0.1692, allocations: 55.34 kB / 0.9832 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.113e-05/0.1692, allocations: 93.86 kB / 0.9833 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.303e-06/0.1693, allocations: 37.83 kB / 0.9833 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.36e-05/0.1693, allocations: 84.12 kB / 0.9834 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.136e-05/0.1693, allocations: 7.844 kB / 0.9834 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-06/0.1693, allocations: 0 / 0.9834 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.429e-05/0.1694, allocations: 322.7 kB / 0.9837 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.707e-05/0.1694, allocations: 19.98 kB / 0.9837 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.995e-05/0.1695, allocations: 35.91 kB / 0.9837 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001376/0.1697, allocations: 44.83 kB / 0.9838 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.1697, allocations: 0 / 0.9838 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001706/0.1698, allocations: 81.66 kB / 0.9839 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.458e-06/0.1699, allocations: 4 kB / 0.9839 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.1699, allocations: 0 / 0.9839 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.377e-06/0.1699, allocations: 4 kB / 0.9839 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.599e-05/0.17, allocations: 12.03 kB / 0.9839 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.17, allocations: 3.984 kB / 0.9839 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.322e-05/0.17, allocations: 4 kB / 0.9839 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-06/0.17, allocations: 0 / 0.9839 GB, free: 23.16 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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 3.889e-05/0.1701, allocations: 121.8 kB / 0.984 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.147e-05/0.1701, allocations: 3.906 kB / 0.984 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002014/0.1703, allocations: 88.77 kB / 0.9841 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1703, allocations: 0 / 0.9841 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1703, allocations: 4 kB / 0.9841 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.1703, allocations: 0 / 0.9841 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.606e-05/0.1704, allocations: 161.6 kB / 0.9842 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1704, allocations: 0 / 0.9842 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.379e-05/0.1705, allocations: 19.95 kB / 0.9843 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.1705, allocations: 0 / 0.9843 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.29e-06/0.1705, allocations: 0 / 0.9843 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1705, allocations: 0 / 0.9843 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.1705, allocations: 4 kB / 0.9843 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001899/0.1707, allocations: 175.5 kB / 0.9844 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.315e-05/0.1707, allocations: 77.11 kB / 0.9845 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.06e-05/0.1708, allocations: 3.984 kB / 0.9845 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.855e-05/0.1708, allocations: 8.25 kB / 0.9845 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.792e-05/0.1709, allocations: 0 / 0.9845 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-06/0.1709, allocations: 11.98 kB / 0.9845 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.729e-05/0.1709, allocations: 79.31 kB / 0.9846 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1709, allocations: 4 kB / 0.9846 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001971/0.1711, allocations: 8 kB / 0.9846 GB, free: 22.31 MB / 0.6198 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 (2): * Single equations (assignments): 2 * 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.0003311/0.1714, allocations: 0.7162 MB / 0.9853 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000176/0.1716, allocations: 51.98 kB / 0.9854 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.1716, allocations: 3.938 kB / 0.9854 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.612e-05/0.1717, allocations: 23.92 kB / 0.9854 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002368/0.172, allocations: 13.31 kB / 0.9854 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000316/0.1723, allocations: 138.5 kB / 0.9855 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.304e-05/0.1724, allocations: 0.6809 MB / 0.9862 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.071e-05/0.1724, allocations: 0 / 0.9862 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.366e-05/0.1724, allocations: 11.44 kB / 0.9862 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of SimCode: time 2.81e-07/0.1724, allocations: 0 / 0.9862 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.247/1.42, allocations: 1.146 MB / 0.9873 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001573/1.42, allocations: 198 kB / 0.9875 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.686/3.106, allocations: 0 / 0.9875 GB, free: 19.33 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_SmoothHeaviside_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_SmoothHeaviside.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)