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.59/1.59, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001045/0.001044, allocations: 178.7 kB / 326.5 MB, free: 2.254 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.58/1.58, allocations: 205.4 MB / 0.5775 GB, free: 20.57 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.0008216/0.0008221, allocations: 86.56 kB / 0.6821 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000359/0.000359, allocations: 15.25 kB / 0.7963 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2247/0.225, allocations: 106.3 MB / 0.9002 GB, free: 64.37 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.000672/0.2257, allocations: 337.2 kB / 0.9005 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003055/0.2261, allocations: 148.4 kB / 0.9006 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.966e-05/0.2261, allocations: 4 kB / 0.9006 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.248e-05/0.2261, allocations: 3.938 kB / 0.9006 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 1.808e-05/0.2261, allocations: 3.938 kB / 0.9006 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002398/0.2264, allocations: 31.91 kB / 0.9007 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 3.989e-05/0.2264, allocations: 7.984 kB / 0.9007 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.832e-05/0.2265, allocations: 5.219 kB / 0.9007 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.843e-05/0.2265, allocations: 11.92 kB / 0.9007 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.846e-05/0.2266, allocations: 0 / 0.9007 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.417e-05/0.2266, allocations: 4 kB / 0.9007 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.459e-05/0.2267, allocations: 27.97 kB / 0.9007 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.967e-06/0.2267, allocations: 11.97 kB / 0.9007 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.008e-05/0.2267, allocations: 29.7 kB / 0.9008 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.648e-05/0.2268, allocations: 11.98 kB / 0.9008 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.2268, allocations: 0 / 0.9008 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.103e-06/0.2268, allocations: 0 / 0.9008 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.2268, allocations: 0 / 0.9008 GB, free: 63.74 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002907/0.2271, allocations: 327.4 kB / 0.9011 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.2272, allocations: 12.03 kB / 0.9011 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.064e-05/0.2272, allocations: 42.53 kB / 0.9011 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.419e-05/0.2272, allocations: 4 kB / 0.9011 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.093e-05/0.2273, allocations: 171 kB / 0.9013 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.759e-06/0.2273, allocations: 0 / 0.9013 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.744e-05/0.2273, allocations: 0 / 0.9013 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.471e-05/0.2274, allocations: 41.69 kB / 0.9013 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.2275, allocations: 0 / 0.9013 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.2275, allocations: 8 kB / 0.9013 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.2275, allocations: 3.938 kB / 0.9013 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.788e-05/0.2275, allocations: 15.92 kB / 0.9014 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001146/0.2276, allocations: 165.7 kB / 0.9015 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 6.905e-05/0.2277, allocations: 42.56 kB / 0.9016 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.863e-05/0.2278, allocations: 81.11 kB / 0.9016 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/0.2278, allocations: 30.56 kB / 0.9017 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 1.193e-06/0.2279, allocations: 0 / 0.9017 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.001122/0.229, allocations: 0.489 MB / 0.9021 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.939e-05/0.229, allocations: 55.41 kB / 0.9022 GB, free: 62 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.515e-05/0.2291, allocations: 89.86 kB / 0.9023 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.828e-06/0.2291, allocations: 25.7 kB / 0.9023 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.529e-05/0.2291, allocations: 84.14 kB / 0.9024 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.348e-05/0.2291, allocations: 19.7 kB / 0.9024 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-06/0.2291, allocations: 0 / 0.9024 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.082e-05/0.2292, allocations: 322.8 kB / 0.9027 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.501e-05/0.2292, allocations: 16.11 kB / 0.9027 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.855e-05/0.2292, allocations: 8 kB / 0.9027 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.088e-05/0.2293, allocations: 16 kB / 0.9028 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.2293, allocations: 0 / 0.9028 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.792e-05/0.2294, allocations: 69.67 kB / 0.9028 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.2294, allocations: 7.938 kB / 0.9028 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.2294, allocations: 4 kB / 0.9028 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.2294, allocations: 0 / 0.9028 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.644e-05/0.2295, allocations: 19.92 kB / 0.9029 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.2295, allocations: 0 / 0.9029 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.322e-05/0.2296, allocations: 4 kB / 0.9029 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.2296, allocations: 8 kB / 0.9029 GB, free: 61.28 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 (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 5.342e-05/0.2296, allocations: 117.7 kB / 0.903 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.008e-05/0.2296, allocations: 7.906 kB / 0.903 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001396/0.2298, allocations: 77.58 kB / 0.9031 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.2298, allocations: 3.984 kB / 0.9031 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.2298, allocations: 4 kB / 0.9031 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.2298, allocations: 0 / 0.9031 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.687e-05/0.2299, allocations: 173.6 kB / 0.9032 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2299, allocations: 3.938 kB / 0.9032 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.338e-05/0.23, allocations: 15.98 kB / 0.9032 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.23, allocations: 0 / 0.9032 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.23, allocations: 0 / 0.9032 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.23, allocations: 0 / 0.9032 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.23, allocations: 0 / 0.9032 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001502/0.2302, allocations: 117.4 kB / 0.9034 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.195e-05/0.2302, allocations: 89.06 kB / 0.9034 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.2302, allocations: 4 kB / 0.9034 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.184e-05/0.2303, allocations: 0 / 0.9034 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.198e-05/0.2303, allocations: 15.97 kB / 0.9035 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.2303, allocations: 4 kB / 0.9035 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.507e-05/0.2304, allocations: 75.28 kB / 0.9035 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2304, allocations: 0 / 0.9035 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001988/0.2306, allocations: 28 kB / 0.9036 GB, free: 60.45 MB / 0.6042 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.000396/0.231, allocations: 0.6867 MB / 0.9042 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 8.631e-05/0.2311, allocations: 35.98 kB / 0.9043 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2311, allocations: 0 / 0.9043 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.904e-05/0.2311, allocations: 27.92 kB / 0.9043 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.566e-05/0.2312, allocations: 3.047 kB / 0.9043 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004816/0.2317, allocations: 414.7 kB / 0.9047 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001159/0.2318, allocations: 0.6925 MB / 0.9054 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.724e-05/0.2319, allocations: 7.938 kB / 0.9054 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.912e-05/0.2319, allocations: 23.48 kB / 0.9054 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.2319, allocations: 0 / 0.9054 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01178/0.2437, allocations: 1.57 MB / 0.9069 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002034/0.244, allocations: 224.6 kB / 0.9072 GB, free: 56.87 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.478/1.722, allocations: 0 / 0.9072 GB, free: 56.87 MB / 0.6042 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)