Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.572/1.572, allocations: 288.4 MB / 303.6 MB, free: 8.133 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009666/0.0009666, allocations: 170.2 kB / 372.2 MB, free: 10.14 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.563/1.563, allocations: 205.4 MB / 0.631 GB, free: 9.777 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007789/0.0007787, allocations: 92.7 kB / 0.7444 GB, free: 5.691 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004098/0.0004098, allocations: 17 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.223/0.2234, allocations: 115.3 MB / 0.9802 GB, free: 27.22 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.0007807/0.2242, allocations: 335.8 kB / 0.9805 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0003445/0.2246, allocations: 147.7 kB / 0.9807 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.715e-05/0.2247, allocations: 0 / 0.9807 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.358e-05/0.2247, allocations: 0 / 0.9807 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.242e-05/0.2247, allocations: 0 / 0.9807 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003008/0.225, allocations: 31.95 kB / 0.9807 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.246e-05/0.2251, allocations: 11.94 kB / 0.9807 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.026e-05/0.2251, allocations: 3.938 kB / 0.9807 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.114e-05/0.2252, allocations: 15.97 kB / 0.9807 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.511e-05/0.2252, allocations: 4 kB / 0.9807 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.217e-05/0.2253, allocations: 7.875 kB / 0.9807 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.203e-05/0.2253, allocations: 35.97 kB / 0.9808 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.959e-06/0.2254, allocations: 0 / 0.9808 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.209e-05/0.2254, allocations: 41.67 kB / 0.9808 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.22e-05/0.2255, allocations: 7.984 kB / 0.9808 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.2255, allocations: 4 kB / 0.9808 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.164e-06/0.2255, allocations: 0 / 0.9808 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.2255, allocations: 0 / 0.9808 GB, free: 26.57 MB / 0.6198 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.0003314/0.2258, allocations: 325.8 kB / 0.9811 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.2259, allocations: 12.03 kB / 0.9811 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.649e-05/0.2259, allocations: 38.67 kB / 0.9812 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.074e-05/0.226, allocations: 4.844 kB / 0.9812 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.59e-05/0.2261, allocations: 168.6 kB / 0.9813 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.2261, allocations: 384 / 0.9813 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.409e-05/0.2261, allocations: 8.375 kB / 0.9814 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001221/0.2263, allocations: 42.25 kB / 0.9814 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.2263, allocations: 3.938 kB / 0.9814 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.2263, allocations: 4 kB / 0.9814 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.2263, allocations: 4 kB / 0.9814 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.637e-05/0.2264, allocations: 15.98 kB / 0.9814 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001507/0.2265, allocations: 157.6 kB / 0.9816 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.682e-05/0.2266, allocations: 46.62 kB / 0.9816 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.319e-05/0.2267, allocations: 20.97 kB / 0.9816 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.459e-05/0.2268, allocations: 81.11 kB / 0.9817 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.866e-05/0.2268, allocations: 30.56 kB / 0.9817 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.2268, allocations: 0 / 0.9817 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.001208/0.228, allocations: 496 kB / 0.9822 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.301e-05/0.228, allocations: 51.41 kB / 0.9823 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.345e-05/0.2281, allocations: 97.84 kB / 0.9824 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.859e-06/0.2281, allocations: 33.64 kB / 0.9824 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.538e-05/0.2281, allocations: 84.14 kB / 0.9825 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.595e-05/0.2282, allocations: 19.66 kB / 0.9825 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.376e-06/0.2282, allocations: 0 / 0.9825 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.176e-05/0.2282, allocations: 318.8 kB / 0.9828 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.384e-05/0.2282, allocations: 8 kB / 0.9828 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.061e-05/0.2283, allocations: 15.98 kB / 0.9828 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.701e-05/0.2283, allocations: 40.98 kB / 0.9829 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.2283, allocations: 0 / 0.9829 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.434e-05/0.2284, allocations: 77.45 kB / 0.9829 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.2285, allocations: 5.562 kB / 0.9829 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.2285, allocations: 0 / 0.9829 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.2285, allocations: 0 / 0.9829 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.457e-05/0.2286, allocations: 16.42 kB / 0.983 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.2286, allocations: 0 / 0.983 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.416e-05/0.2286, allocations: 8 kB / 0.983 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.2286, allocations: 4 kB / 0.983 GB, free: 24.07 MB / 0.6198 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.721e-05/0.2287, allocations: 119.4 kB / 0.9831 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.217e-05/0.2287, allocations: 7.875 kB / 0.9831 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001426/0.2289, allocations: 77.58 kB / 0.9832 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.2289, allocations: 7.984 kB / 0.9832 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.2289, allocations: 0 / 0.9832 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.2289, allocations: 3.984 kB / 0.9832 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.183e-05/0.229, allocations: 165.7 kB / 0.9833 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.229, allocations: 0 / 0.9833 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.707e-05/0.2291, allocations: 19.94 kB / 0.9833 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.2291, allocations: 0 / 0.9833 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.906e-06/0.2291, allocations: 3.984 kB / 0.9834 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.2291, allocations: 0 / 0.9834 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2291, allocations: 4 kB / 0.9834 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001414/0.2293, allocations: 117.3 kB / 0.9835 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.663e-05/0.2293, allocations: 81.05 kB / 0.9835 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.273e-05/0.2293, allocations: 0 / 0.9835 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.29e-05/0.2293, allocations: 8.094 kB / 0.9836 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.674e-05/0.2294, allocations: 7.984 kB / 0.9836 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.233e-06/0.2294, allocations: 4 kB / 0.9836 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.724e-05/0.2294, allocations: 79.22 kB / 0.9836 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2294, allocations: 0 / 0.9836 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002004/0.2296, allocations: 28 kB / 0.9837 GB, free: 23.25 MB / 0.6198 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.0003887/0.23, allocations: 0.6906 MB / 0.9843 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.935e-05/0.2301, allocations: 35.98 kB / 0.9844 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2301, allocations: 0 / 0.9844 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.851e-05/0.2302, allocations: 31.91 kB / 0.9844 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001464/0.2303, allocations: 0 / 0.9844 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005186/0.2308, allocations: 418.8 kB / 0.9848 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001049/0.231, allocations: 0.6809 MB / 0.9855 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.467e-05/0.231, allocations: 11.73 kB / 0.9855 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.318e-05/0.231, allocations: 11.44 kB / 0.9855 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of SimCode: time 5.51e-07/0.231, allocations: 4.062 kB / 0.9855 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4773/0.7083, allocations: 1.588 MB / 0.987 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002456/0.7086, allocations: 225 kB / 0.9873 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.672/2.381, allocations: 4.062 kB / 0.9873 GB, free: 19.66 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)