Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.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.SmoothLimit,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_SmoothLimit",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.614/1.614, allocations: 252 MB / 267 MB, free: 10.98 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.001343/0.001343, allocations: 180.8 kB / 326.6 MB, free: 2.242 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.931/1.931, allocations: 205.4 MB / 0.5777 GB, free: 20.31 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.0008073/0.0008072, allocations: 93.36 kB / 0.6823 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003916/0.0003921, allocations: 12.66 kB / 0.7965 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2374/0.2378, allocations: 106.4 MB / 0.9003 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.001432/0.2393, allocations: 1.18 MB / 0.9015 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007576/0.24, allocations: 0.5668 MB / 0.902 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.277e-05/0.2401, allocations: 0 / 0.902 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.48e-05/0.2401, allocations: 3.984 kB / 0.902 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.382e-05/0.2402, allocations: 7.938 kB / 0.902 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002207/0.2404, allocations: 39.89 kB / 0.9021 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.11e-05/0.2405, allocations: 15.94 kB / 0.9021 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.971e-05/0.2405, allocations: 11.92 kB / 0.9021 GB, free: 62 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.286e-05/0.2406, allocations: 11.94 kB / 0.9021 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.095e-05/0.2407, allocations: 11.92 kB / 0.9021 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.237e-05/0.2407, allocations: 4 kB / 0.9021 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.763e-05/0.2408, allocations: 55.94 kB / 0.9022 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.574e-06/0.2408, allocations: 4 kB / 0.9022 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.895e-05/0.2409, allocations: 33.64 kB / 0.9022 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.645e-05/0.241, allocations: 43.94 kB / 0.9023 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.241, allocations: 0 / 0.9023 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.373e-06/0.241, allocations: 0 / 0.9023 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.241, allocations: 0 / 0.9023 GB, free: 61.83 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.000304/0.2413, allocations: 339.5 kB / 0.9026 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.2413, allocations: 12.03 kB / 0.9026 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.429e-05/0.2414, allocations: 34.56 kB / 0.9026 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.093e-05/0.2414, allocations: 7.953 kB / 0.9026 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.055e-05/0.2415, allocations: 163.1 kB / 0.9028 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.187e-06/0.2415, allocations: 0 / 0.9028 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.206e-06/0.2415, allocations: 3.984 kB / 0.9028 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.2416, allocations: 49.62 kB / 0.9028 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.971e-06/0.2416, allocations: 0 / 0.9028 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.2416, allocations: 0 / 0.9028 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.2417, allocations: 3.938 kB / 0.9028 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.4e-05/0.2417, allocations: 27.98 kB / 0.9029 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002527/0.242, allocations: 260.8 kB / 0.9031 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.766e-05/0.2421, allocations: 22.58 kB / 0.9031 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.439e-05/0.2421, allocations: 20.91 kB / 0.9032 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006922/0.2428, allocations: 0.4936 MB / 0.9036 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.772e-05/0.2429, allocations: 42.44 kB / 0.9037 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.2429, allocations: 0 / 0.9037 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0002144/0.2431, allocations: 65.78 kB / 0.9037 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.146e-05/0.2431, allocations: 59.34 kB / 0.9038 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.854e-05/0.2432, allocations: 109.8 kB / 0.9039 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.743e-06/0.2432, allocations: 25.7 kB / 0.9039 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.308e-05/0.2432, allocations: 84.14 kB / 0.904 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.269e-05/0.2432, allocations: 11.84 kB / 0.904 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-06/0.2433, allocations: 0 / 0.904 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.682e-05/0.2433, allocations: 310.8 kB / 0.9043 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.864e-05/0.2433, allocations: 20.02 kB / 0.9043 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.067e-05/0.2434, allocations: 8 kB / 0.9043 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.976e-05/0.2434, allocations: 19.92 kB / 0.9044 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2434, allocations: 0 / 0.9044 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001015/0.2435, allocations: 57.75 kB / 0.9044 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.2436, allocations: 8 kB / 0.9044 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.2436, allocations: 0 / 0.9044 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.448e-06/0.2436, allocations: 0 / 0.9044 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.226e-05/0.2437, allocations: 7.984 kB / 0.9044 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.2437, allocations: 3.953 kB / 0.9044 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.993e-05/0.2437, allocations: 4 kB / 0.9044 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.2437, allocations: 0 / 0.9044 GB, free: 59.27 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.12e-05/0.2438, allocations: 113.9 kB / 0.9045 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.253e-05/0.2438, allocations: 3.906 kB / 0.9045 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001412/0.2439, allocations: 69.14 kB / 0.9046 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.244, allocations: 0 / 0.9046 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.244, allocations: 4 kB / 0.9046 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.244, allocations: 3.953 kB / 0.9046 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001163/0.2441, allocations: 165.6 kB / 0.9048 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2441, allocations: 0 / 0.9048 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.241e-05/0.2442, allocations: 20.02 kB / 0.9048 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.2442, allocations: 3.984 kB / 0.9048 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-06/0.2442, allocations: 0 / 0.9048 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.2442, allocations: 3.938 kB / 0.9048 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2442, allocations: 320 / 0.9048 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001206/0.2443, allocations: 159.4 kB / 0.905 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.784e-05/0.2443, allocations: 88.94 kB / 0.905 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.116e-05/0.2444, allocations: 0 / 0.905 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.927e-05/0.2444, allocations: 8 kB / 0.9051 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.744e-05/0.2445, allocations: 0 / 0.9051 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.105e-06/0.2445, allocations: 0 / 0.9051 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.542e-05/0.2445, allocations: 91.25 kB / 0.9051 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2445, allocations: 0 / 0.9051 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002175/0.2447, allocations: 20 kB / 0.9052 GB, free: 58.43 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.0003107/0.245, allocations: 0.7008 MB / 0.9058 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001141/0.2452, allocations: 39.94 kB / 0.9059 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2452, allocations: 0 / 0.9059 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.847e-05/0.2452, allocations: 8 kB / 0.9059 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001815/0.2454, allocations: 8 kB / 0.9059 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003453/0.2458, allocations: 166.2 kB / 0.9061 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.138e-05/0.2459, allocations: 0.6811 MB / 0.9067 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.33e-05/0.2459, allocations: 4 kB / 0.9067 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.737e-05/0.2459, allocations: 19.36 kB / 0.9067 GB, free: 56.72 MB / 0.6042 GB Notification: Performance of SimCode: time 2.4e-07/0.2459, allocations: 0 / 0.9067 GB, free: 56.72 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01154/0.2575, allocations: 1.395 MB / 0.9081 GB, free: 55.45 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001308/0.2576, allocations: 184.3 kB / 0.9083 GB, free: 55.22 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.583/1.841, allocations: 0 / 0.9083 GB, free: 55.22 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_SmoothLimit_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_SmoothLimit.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)