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.778/1.778, allocations: 288.4 MB / 303.3 MB, free: 8.168 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.001027/0.001027, allocations: 187.2 kB / 372 MB, free: 10.24 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.853/1.853, allocations: 205.4 MB / 0.6307 GB, free: 9.957 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.0009608/0.0009611, allocations: 97.16 kB / 0.744 GB, free: 5.879 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004307/0.0004308, allocations: 11.47 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2616/0.2621, allocations: 115.3 MB / 0.9796 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.001495/0.2636, allocations: 1.145 MB / 0.9808 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007044/0.2643, allocations: 493.6 kB / 0.9812 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.193e-05/0.2644, allocations: 4 kB / 0.9812 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.315e-05/0.2644, allocations: 0 / 0.9812 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.967e-05/0.2645, allocations: 0 / 0.9812 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001887/0.2647, allocations: 23.91 kB / 0.9813 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.42e-05/0.2648, allocations: 23.92 kB / 0.9813 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.2649, allocations: 4 kB / 0.9813 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.02e-05/0.2649, allocations: 4 kB / 0.9813 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.997e-05/0.265, allocations: 15.92 kB / 0.9813 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.265e-05/0.265, allocations: 0 / 0.9813 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.641e-05/0.2651, allocations: 19.98 kB / 0.9813 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.566e-06/0.2651, allocations: 3.938 kB / 0.9813 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.052e-05/0.2651, allocations: 29.7 kB / 0.9813 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.231e-05/0.2652, allocations: 23.95 kB / 0.9814 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.2652, allocations: 7.922 kB / 0.9814 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.795e-06/0.2652, allocations: 0 / 0.9814 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.2653, allocations: 0 / 0.9814 GB, free: 25.73 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.0004175/0.2657, allocations: 347.5 kB / 0.9817 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.2657, allocations: 12.02 kB / 0.9817 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.666e-05/0.2658, allocations: 34.56 kB / 0.9818 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.463e-05/0.2658, allocations: 4 kB / 0.9818 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/0.2659, allocations: 163 kB / 0.9819 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.2659, allocations: 3.938 kB / 0.9819 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.216e-06/0.266, allocations: 4 kB / 0.9819 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001814/0.2661, allocations: 57.61 kB / 0.982 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.2662, allocations: 4 kB / 0.982 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.2662, allocations: 3.984 kB / 0.982 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.2662, allocations: 0 / 0.982 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001778/0.2664, allocations: 47.95 kB / 0.982 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003/0.2667, allocations: 256.8 kB / 0.9823 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001317/0.2668, allocations: 46.48 kB / 0.9823 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.216e-05/0.2669, allocations: 24.91 kB / 0.9823 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001289/0.2671, allocations: 85.11 kB / 0.9824 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.434e-05/0.2671, allocations: 34.56 kB / 0.9825 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.2671, allocations: 0 / 0.9825 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0003846/0.2675, allocations: 97.73 kB / 0.9826 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.594e-05/0.2675, allocations: 51.41 kB / 0.9826 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.723e-05/0.2676, allocations: 109.8 kB / 0.9827 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.2676, allocations: 25.7 kB / 0.9827 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.569e-05/0.2677, allocations: 84.14 kB / 0.9828 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.038e-05/0.2677, allocations: 11.78 kB / 0.9828 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-06/0.2677, allocations: 0 / 0.9828 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.593e-05/0.2678, allocations: 322.9 kB / 0.9831 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.503e-05/0.2679, allocations: 19.98 kB / 0.9831 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.651e-05/0.268, allocations: 19.98 kB / 0.9832 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.346e-05/0.2681, allocations: 24.05 kB / 0.9832 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2681, allocations: 4 kB / 0.9832 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001877/0.2683, allocations: 73.66 kB / 0.9833 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.2683, allocations: 7.938 kB / 0.9833 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.2683, allocations: 4.031 kB / 0.9833 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.2683, allocations: 0 / 0.9833 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.672e-05/0.2684, allocations: 11.98 kB / 0.9833 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.2684, allocations: 0 / 0.9833 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.012e-05/0.2685, allocations: 15.94 kB / 0.9833 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.2685, allocations: 0 / 0.9833 GB, free: 23.52 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 6.323e-05/0.2686, allocations: 121.8 kB / 0.9834 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.112e-05/0.2686, allocations: 0 / 0.9834 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002587/0.2689, allocations: 84.69 kB / 0.9835 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.2689, allocations: 0 / 0.9835 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.2689, allocations: 0 / 0.9835 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.2689, allocations: 4.031 kB / 0.9835 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001332/0.269, allocations: 165.6 kB / 0.9837 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2691, allocations: 0 / 0.9837 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.881e-05/0.2691, allocations: 11.98 kB / 0.9837 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.2691, allocations: 3.938 kB / 0.9837 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.203e-06/0.2691, allocations: 0 / 0.9837 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.2691, allocations: 0 / 0.9837 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.2691, allocations: 0 / 0.9837 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002246/0.2694, allocations: 183.4 kB / 0.9839 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.276e-05/0.2694, allocations: 77.11 kB / 0.9839 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.357e-05/0.2694, allocations: 0 / 0.9839 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.68e-05/0.2695, allocations: 16.02 kB / 0.9839 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.406e-05/0.2696, allocations: 256 / 0.9839 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.2696, allocations: 0 / 0.9839 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.278e-05/0.2696, allocations: 83.28 kB / 0.984 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2696, allocations: 0 / 0.984 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002107/0.2698, allocations: 12 kB / 0.984 GB, free: 22.67 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.0004525/0.2703, allocations: 0.7163 MB / 0.9847 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002153/0.2705, allocations: 48 kB / 0.9848 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.2705, allocations: 0 / 0.9848 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.468e-05/0.2706, allocations: 23.97 kB / 0.9848 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002875/0.2709, allocations: 8 kB / 0.9848 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003708/0.2713, allocations: 150.3 kB / 0.985 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001224/0.2714, allocations: 0.677 MB / 0.9856 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.782e-05/0.2715, allocations: 7.938 kB / 0.9856 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.818e-05/0.2715, allocations: 7.438 kB / 0.9856 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.2715, allocations: 0 / 0.9856 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01202/0.2835, allocations: 1.169 MB / 0.9868 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001609/0.2837, allocations: 194.3 kB / 0.987 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.619/1.902, allocations: 0 / 0.987 GB, free: 19.68 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)