Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",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.432/1.432, allocations: 249.5 MB / 257 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001268/0.001268, allocations: 177.9 kB / 316.3 MB, free: 3.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.787/1.787, allocations: 205.3 MB / 0.5671 GB, free: 15.8 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.000908/0.000908, allocations: 90.48 kB / 0.6714 GB, free: 4.918 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.717e-05/2.728e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2225/0.2226, allocations: 106.3 MB / 0.8853 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7135/0.9362, allocations: 131.4 MB / 1.014 GB, free: 6.207 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002065/0.9364, allocations: 78.89 kB / 1.014 GB, free: 6.164 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.005303/0.9417, allocations: 2.026 MB / 1.016 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.503e-06/0.9418, allocations: 1.125 kB / 1.016 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.284e-06/0.9418, allocations: 0 / 1.016 GB, free: 4.477 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003406/0.9421, allocations: 334.7 kB / 1.016 GB, free: 4.109 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.772e-05/0.9422, allocations: 8.031 kB / 1.016 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.974e-05/0.9422, allocations: 0 / 1.016 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001543/0.9424, allocations: 167 kB / 1.016 GB, free: 3.898 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.9424, allocations: 0 / 1.016 GB, free: 3.898 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.71e-05/0.9425, allocations: 3.5 kB / 1.016 GB, free: 3.898 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.264e-05/0.9425, allocations: 15.92 kB / 1.016 GB, free: 3.883 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.236e-05/0.9426, allocations: 41.25 kB / 1.016 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.9427, allocations: 0 / 1.016 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.9427, allocations: 4 kB / 1.016 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.9427, allocations: 0 / 1.016 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002047/0.9429, allocations: 140.8 kB / 1.016 GB, free: 3.664 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.317e-05/0.943, allocations: 42.06 kB / 1.016 GB, free: 3.621 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.519e-05/0.9431, allocations: 20.34 kB / 1.016 GB, free: 3.602 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000122/0.9432, allocations: 85.09 kB / 1.017 GB, free: 3.5 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.9432, allocations: 42.19 kB / 1.017 GB, free: 3.453 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.9432, allocations: 0 / 1.017 GB, free: 3.453 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.001087/0.9443, allocations: 452.2 kB / 1.017 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.166e-05/0.9444, allocations: 51.41 kB / 1.017 GB, free: 2.891 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.101e-05/0.9444, allocations: 96.36 kB / 1.017 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.9445, allocations: 25.7 kB / 1.017 GB, free: 2.762 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.007e-05/0.9445, allocations: 80.14 kB / 1.017 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.276e-05/0.9445, allocations: 22.91 kB / 1.017 GB, free: 2.66 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.088e-06/0.9445, allocations: 4 kB / 1.017 GB, free: 2.656 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.9447, allocations: 314.8 kB / 1.018 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.204e-05/0.9447, allocations: 11.25 kB / 1.018 GB, free: 2.332 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.933e-05/0.9447, allocations: 10.88 kB / 1.018 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.198e-05/0.9448, allocations: 11.19 kB / 1.018 GB, free: 2.316 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.9448, allocations: 0 / 1.018 GB, free: 2.316 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001072/0.9449, allocations: 68.45 kB / 1.018 GB, free: 2.25 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.9449, allocations: 14.11 kB / 1.018 GB, free: 2.238 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.9449, allocations: 0 / 1.018 GB, free: 2.238 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.9449, allocations: 4 kB / 1.018 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.387e-05/0.945, allocations: 15.12 kB / 1.018 GB, free: 2.223 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.945, allocations: 0 / 1.018 GB, free: 2.223 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.263e-05/0.9451, allocations: 0 / 1.018 GB, free: 2.223 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.287e-06/0.9451, allocations: 4 kB / 1.018 GB, free: 2.219 MB / 0.6355 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.647e-05/0.9452, allocations: 101 kB / 1.018 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001075/0.9453, allocations: 73.14 kB / 1.018 GB, free: 2.039 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.405e-06/0.9453, allocations: 7.5 kB / 1.018 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001635/0.9455, allocations: 73.03 kB / 1.018 GB, free: 1.957 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.9455, allocations: 0 / 1.018 GB, free: 1.957 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.9455, allocations: 4 kB / 1.018 GB, free: 1.953 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.9455, allocations: 0 / 1.018 GB, free: 1.953 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001144/0.9456, allocations: 137.9 kB / 1.018 GB, free: 1.785 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.9456, allocations: 0 / 1.018 GB, free: 1.785 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.319e-05/0.9457, allocations: 19.61 kB / 1.018 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.9457, allocations: 0 / 1.018 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.9457, allocations: 4 kB / 1.018 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.9457, allocations: 0 / 1.018 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.9457, allocations: 0 / 1.018 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000185/0.9459, allocations: 123.9 kB / 1.018 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.557e-05/0.946, allocations: 81.06 kB / 1.018 GB, free: 1.543 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.946, allocations: 192 / 1.018 GB, free: 1.543 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.981e-05/0.946, allocations: 4 kB / 1.018 GB, free: 1.539 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.766e-05/0.9461, allocations: 8.016 kB / 1.018 GB, free: 1.531 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.772e-06/0.9461, allocations: 4 kB / 1.018 GB, free: 1.527 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.355e-05/0.9461, allocations: 79.34 kB / 1.018 GB, free: 1.449 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9461, allocations: 0 / 1.018 GB, free: 1.449 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002205/0.9464, allocations: 35.88 kB / 1.018 GB, free: 1.414 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0005251/0.9469, allocations: 0.6846 MB / 1.019 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.656e-05/0.947, allocations: 31.19 kB / 1.019 GB, free: 0.6953 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.947, allocations: 4.156 kB / 1.019 GB, free: 0.6914 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.779e-05/0.947, allocations: 23.56 kB / 1.019 GB, free: 0.6719 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001051/0.9471, allocations: 3.984 kB / 1.019 GB, free: 0.668 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004065/0.9476, allocations: 155 kB / 1.019 GB, free: 500 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003545/0.9479, allocations: 0.6807 MB / 1.02 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.329e-05/0.948, allocations: 8.188 kB / 1.02 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.68e-05/0.948, allocations: 15.42 kB / 1.02 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of SimCode: time 2.7e-07/0.948, allocations: 0 / 1.02 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02053/0.9686, allocations: 1.186 MB / 1.021 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002221/0.9689, allocations: 185.3 kB / 1.021 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.354/2.322, allocations: 0 / 1.021 GB, free: 14.41 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)