Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8731/0.8731, allocations: 143.3 MB / 158.3 MB, free: 5.785 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 185 kB / 191.5 MB, free: 5.762 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.486/1.486, allocations: 223.1 MB / 447.7 MB, free: 4.809 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009404/0.0009405, allocations: 92.38 kB / 0.5187 GB, free: 1.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002695/0.002695, allocations: 274.2 kB / 0.6005 GB, free: 48.72 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004361/0.0004362, allocations: 17.59 kB / 0.6929 GB, free: 59.71 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.168/0.1685, allocations: 82.79 MB / 0.7738 GB, free: 13.71 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1493/0.3178, allocations: 108.2 MB / 0.8794 GB, free: 1.391 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002362/0.3181, allocations: 71.95 kB / 0.8795 GB, free: 1.32 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.3459/0.6641, allocations: 2.045 MB / 0.8815 GB, free: 109.2 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.464e-06/0.6641, allocations: 0.9375 kB / 0.8815 GB, free: 109.2 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.6641, allocations: 0 / 0.8815 GB, free: 109.2 MB / 0.5417 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.0002664/0.6644, allocations: 348.3 kB / 0.8818 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.6645, allocations: 9.484 kB / 0.8818 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.944e-05/0.6645, allocations: 39.28 kB / 0.8819 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.499e-05/0.6645, allocations: 2.281 kB / 0.8819 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.653e-05/0.6646, allocations: 161.7 kB / 0.882 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.6646, allocations: 5.422 kB / 0.882 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.101e-05/0.6647, allocations: 6.047 kB / 0.8821 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001109/0.6648, allocations: 41.2 kB / 0.8821 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.6648, allocations: 0 / 0.8821 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.6648, allocations: 4.625 kB / 0.8821 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.6648, allocations: 1.281 kB / 0.8821 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.316e-05/0.6649, allocations: 12.8 kB / 0.8821 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001204/0.665, allocations: 168.6 kB / 0.8823 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 8.25e-05/0.6651, allocations: 52.58 kB / 0.8823 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 7.432e-05/0.6652, allocations: 78.86 kB / 0.8824 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.768e-05/0.6652, allocations: 43.08 kB / 0.8824 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=5): time 9.51e-07/0.6652, allocations: 0 / 0.8824 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of matching and sorting (n=7): time 0.001056/0.6662, allocations: 481.2 kB / 0.8829 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.288e-05/0.6663, allocations: 51.41 kB / 0.8829 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.113e-05/0.6663, allocations: 89 kB / 0.883 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 9.839e-06/0.6663, allocations: 35.36 kB / 0.8831 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 1.345e-05/0.6664, allocations: 83.83 kB / 0.8831 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.191e-05/0.6664, allocations: 18.09 kB / 0.8832 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.878e-06/0.6664, allocations: 0 / 0.8832 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 4.134e-05/0.6664, allocations: 314.2 kB / 0.8835 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.242e-05/0.6665, allocations: 10.97 kB / 0.8835 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.867e-05/0.6665, allocations: 12.38 kB / 0.8835 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.026e-05/0.6665, allocations: 19.73 kB / 0.8835 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.6665, allocations: 2.906 kB / 0.8835 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.907e-05/0.6666, allocations: 73.12 kB / 0.8836 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.6666, allocations: 5.906 kB / 0.8836 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.6667, allocations: 0 / 0.8836 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.377e-06/0.6667, allocations: 0 / 0.8836 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.923e-05/0.6668, allocations: 20.5 kB / 0.8836 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.6668, allocations: 0 / 0.8836 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.304e-05/0.6668, allocations: 0 / 0.8836 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.6668, allocations: 4.25 kB / 0.8836 GB, free: 107.2 MB / 0.5417 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 (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 4.746e-05/0.6669, allocations: 119 kB / 0.8837 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.241e-05/0.6669, allocations: 15.61 kB / 0.8837 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001424/0.667, allocations: 79.34 kB / 0.8838 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.667, allocations: 2.781 kB / 0.8838 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.667, allocations: 1 kB / 0.8838 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.6671, allocations: 0 / 0.8838 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.467e-05/0.6671, allocations: 166.9 kB / 0.884 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.6671, allocations: 0 / 0.884 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.692e-05/0.6672, allocations: 18.62 kB / 0.884 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.6672, allocations: 0 / 0.884 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/0.6672, allocations: 6.984 kB / 0.884 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.6673, allocations: 1.5 kB / 0.884 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.6673, allocations: 0 / 0.884 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001436/0.6674, allocations: 116.8 kB / 0.8841 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 1.687e-05/0.6674, allocations: 83.73 kB / 0.8842 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.6675, allocations: 6.344 kB / 0.8842 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.181e-05/0.6675, allocations: 11.95 kB / 0.8842 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.321e-05/0.6675, allocations: 2.719 kB / 0.8842 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.151e-06/0.6675, allocations: 6 kB / 0.8842 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 1.537e-05/0.6676, allocations: 77.88 kB / 0.8843 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6676, allocations: 0 / 0.8843 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002062/0.6678, allocations: 43.38 kB / 0.8843 GB, free: 106.6 MB / 0.5417 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 () * Number of clocked 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.0003798/0.6682, allocations: 0.6866 MB / 0.885 GB, free: 106 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 8.786e-05/0.6683, allocations: 34.14 kB / 0.885 GB, free: 106 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.6683, allocations: 0 / 0.885 GB, free: 106 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 2.865e-05/0.6683, allocations: 27.14 kB / 0.8851 GB, free: 106 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.458e-05/0.6684, allocations: 3.953 kB / 0.8851 GB, free: 106 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005291/0.6689, allocations: 436.4 kB / 0.8855 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.323e-05/0.669, allocations: 0.682 MB / 0.8861 GB, free: 104.9 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.567e-05/0.6691, allocations: 13.27 kB / 0.8862 GB, free: 104.9 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.982e-05/0.6691, allocations: 10 kB / 0.8862 GB, free: 104.9 MB / 0.5417 GB Notification: Performance of SimCode: time 1.362e-06/0.6691, allocations: 4.062 kB / 0.8862 GB, free: 104.9 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01204/0.6812, allocations: 1.502 MB / 0.8876 GB, free: 104.8 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001435/0.6813, allocations: 226.4 kB / 0.8879 GB, free: 104.6 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.539/2.22, allocations: 0 / 0.8879 GB, free: 104.6 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)