Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.426/1.426, allocations: 251.9 MB / 266.9 MB, free: 10.99 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001064/0.001064, allocations: 174.6 kB / 326.5 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.736/1.736, allocations: 205.4 MB / 0.5775 GB, free: 20.3 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009172/0.0009172, allocations: 90.3 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003709/0.000371, allocations: 11.25 kB / 0.7963 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2654/0.2657, allocations: 106.3 MB / 0.9001 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.001958/0.2678, allocations: 1.164 MB / 0.9013 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008569/0.2687, allocations: 489.5 kB / 0.9018 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.786e-05/0.2687, allocations: 0 / 0.9018 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.692e-05/0.2688, allocations: 3.938 kB / 0.9018 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.549e-05/0.2689, allocations: 0 / 0.9018 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002037/0.2691, allocations: 23.92 kB / 0.9018 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.191e-05/0.2691, allocations: 15.97 kB / 0.9018 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.2693, allocations: 4 kB / 0.9018 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.706e-05/0.2693, allocations: 11.92 kB / 0.9018 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.905e-05/0.2694, allocations: 7.984 kB / 0.9018 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.442e-05/0.2694, allocations: 4 kB / 0.9018 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.746e-05/0.2695, allocations: 19.92 kB / 0.9018 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.758e-06/0.2695, allocations: 4 kB / 0.9018 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.635e-05/0.2695, allocations: 25.7 kB / 0.9019 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.316e-05/0.2696, allocations: 23.95 kB / 0.9019 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.2696, allocations: 4 kB / 0.9019 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2696, allocations: 0 / 0.9019 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.2696, allocations: 0 / 0.9019 GB, free: 62.04 MB / 0.6042 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.0004563/0.2701, allocations: 335.6 kB / 0.9022 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/0.2702, allocations: 12.03 kB / 0.9022 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.806e-05/0.2702, allocations: 34.55 kB / 0.9023 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.103e-05/0.2702, allocations: 11.86 kB / 0.9023 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/0.2704, allocations: 175 kB / 0.9024 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.2704, allocations: 0 / 0.9024 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.004e-05/0.2704, allocations: 0 / 0.9024 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002165/0.2706, allocations: 53.67 kB / 0.9025 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.2707, allocations: 0 / 0.9025 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.2707, allocations: 0 / 0.9025 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.2707, allocations: 4 kB / 0.9025 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001805/0.2709, allocations: 47.95 kB / 0.9025 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003289/0.2712, allocations: 244.9 kB / 0.9028 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001341/0.2714, allocations: 50.48 kB / 0.9028 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001173/0.2715, allocations: 81.17 kB / 0.9029 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.08e-05/0.2715, allocations: 34.5 kB / 0.9029 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.2715, allocations: 0 / 0.9029 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003669/0.2719, allocations: 101.6 kB / 0.903 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.169e-05/0.2719, allocations: 59.3 kB / 0.9031 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.804e-05/0.272, allocations: 109.8 kB / 0.9032 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.497e-06/0.272, allocations: 25.7 kB / 0.9032 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.468e-05/0.2721, allocations: 88.27 kB / 0.9033 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.698e-05/0.2721, allocations: 3.906 kB / 0.9033 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.935e-06/0.2721, allocations: 0 / 0.9033 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.729e-05/0.2721, allocations: 314.8 kB / 0.9036 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.084e-05/0.2722, allocations: 23.97 kB / 0.9036 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.049e-05/0.2723, allocations: 23.98 kB / 0.9036 GB, free: 60 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.633e-05/0.2724, allocations: 19.98 kB / 0.9037 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2724, allocations: 0 / 0.9037 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.00018/0.2726, allocations: 85.62 kB / 0.9037 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.2726, allocations: 4 kB / 0.9037 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.2726, allocations: 0 / 0.9037 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.2726, allocations: 0 / 0.9037 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9e-05/0.2727, allocations: 11.98 kB / 0.9038 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.2728, allocations: 0 / 0.9038 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.735e-05/0.2728, allocations: 19.88 kB / 0.9038 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.2728, allocations: 4.031 kB / 0.9038 GB, free: 59.86 MB / 0.6042 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 5.403e-05/0.2729, allocations: 119.2 kB / 0.9039 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.113e-05/0.2729, allocations: 0 / 0.9039 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002185/0.2731, allocations: 84.78 kB / 0.904 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.2731, allocations: 0 / 0.904 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-06/0.2732, allocations: 0 / 0.904 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.2732, allocations: 0 / 0.904 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001209/0.2733, allocations: 157.6 kB / 0.9041 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.2733, allocations: 7.984 kB / 0.9041 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.381e-05/0.2734, allocations: 8 kB / 0.9041 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.2734, allocations: 0 / 0.9041 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-06/0.2734, allocations: 256 / 0.9041 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.2734, allocations: 0 / 0.9041 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.2734, allocations: 8.031 kB / 0.9042 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002008/0.2736, allocations: 183.3 kB / 0.9043 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.22e-05/0.2736, allocations: 92.97 kB / 0.9044 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.358e-05/0.2736, allocations: 0 / 0.9044 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.217e-05/0.2737, allocations: 8 kB / 0.9044 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.412e-05/0.2738, allocations: 3.984 kB / 0.9044 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.2738, allocations: 0 / 0.9044 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.422e-05/0.2738, allocations: 83.28 kB / 0.9045 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2738, allocations: 0 / 0.9045 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002183/0.274, allocations: 12 kB / 0.9045 GB, free: 59.01 MB / 0.6042 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.0004374/0.2745, allocations: 0.7142 MB / 0.9052 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002004/0.2747, allocations: 51.98 kB / 0.9053 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2747, allocations: 0 / 0.9053 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.162e-05/0.2748, allocations: 28.05 kB / 0.9053 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002141/0.275, allocations: 0 / 0.9053 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003736/0.2754, allocations: 142.3 kB / 0.9054 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001122/0.2755, allocations: 0.677 MB / 0.9061 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.494e-05/0.2755, allocations: 4 kB / 0.9061 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.838e-05/0.2756, allocations: 7.5 kB / 0.9061 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of SimCode: time 2.1e-07/0.2756, allocations: 4 kB / 0.9061 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01151/0.2871, allocations: 1.141 MB / 0.9072 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000147/0.2873, allocations: 194.2 kB / 0.9074 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.567/1.854, allocations: 0 / 0.9074 GB, free: 56.04 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_SmoothHeaviside_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_SmoothHeaviside.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)