Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.conf.json 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/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 91.61 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.739/1.739, allocations: 205.4 MB / 222.1 MB, free: 5.891 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.793/1.793, allocations: 292.7 MB / 0.5499 GB, free: 14.54 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005033/0.0005033, allocations: 18.97 kB / 0.6738 GB, free: 26.5 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2785/0.2791, allocations: 116.3 MB / 0.7874 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.0007263/0.2798, allocations: 339.5 kB / 0.7877 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003632/0.2802, allocations: 147.7 kB / 0.7879 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.112e-05/0.2802, allocations: 3.938 kB / 0.7879 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.375e-05/0.2803, allocations: 0 / 0.7879 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.102e-05/0.2803, allocations: 0 / 0.7879 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002655/0.2806, allocations: 35.91 kB / 0.7879 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.329e-05/0.2806, allocations: 15.92 kB / 0.7879 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.468e-05/0.2807, allocations: 4 kB / 0.7879 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.022e-05/0.2807, allocations: 3.984 kB / 0.7879 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.11e-05/0.2808, allocations: 7.984 kB / 0.7879 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.138e-05/0.2808, allocations: 0 / 0.7879 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.648e-05/0.2809, allocations: 31.97 kB / 0.788 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.263e-05/0.2809, allocations: 11.94 kB / 0.788 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.303e-05/0.2809, allocations: 25.7 kB / 0.788 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.013e-05/0.281, allocations: 19.95 kB / 0.788 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.281, allocations: 0 / 0.788 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.383e-06/0.281, allocations: 4 kB / 0.788 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.281, allocations: 0 / 0.788 GB, free: 11.18 MB / 0.6075 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.0003722/0.2814, allocations: 327.3 kB / 0.7883 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.2814, allocations: 8.031 kB / 0.7884 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.505e-05/0.2815, allocations: 34.56 kB / 0.7884 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.504e-05/0.2816, allocations: 8 kB / 0.7884 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.2817, allocations: 175.2 kB / 0.7886 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.2817, allocations: 0 / 0.7886 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.455e-05/0.2818, allocations: 4 kB / 0.7886 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001156/0.2819, allocations: 45.62 kB / 0.7886 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.2819, allocations: 0 / 0.7886 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.2819, allocations: 4 kB / 0.7886 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.2819, allocations: 3.984 kB / 0.7886 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.286e-05/0.282, allocations: 11.98 kB / 0.7886 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001743/0.2821, allocations: 165.7 kB / 0.7888 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.2822, allocations: 46.56 kB / 0.7888 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.083e-05/0.2823, allocations: 16.98 kB / 0.7888 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.254e-05/0.2824, allocations: 77.11 kB / 0.7889 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.552e-05/0.2824, allocations: 42.48 kB / 0.789 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 2.254e-06/0.2824, allocations: 0 / 0.789 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.001219/0.2837, allocations: 492.3 kB / 0.7894 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.241e-05/0.2837, allocations: 51.41 kB / 0.7895 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.925e-05/0.2838, allocations: 89.86 kB / 0.7896 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.159e-05/0.2838, allocations: 29.7 kB / 0.7896 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.783e-05/0.2839, allocations: 84.14 kB / 0.7897 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.451e-05/0.2839, allocations: 23.55 kB / 0.7897 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.051e-06/0.2839, allocations: 8 kB / 0.7897 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.2841, allocations: 318.9 kB / 0.79 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.924e-05/0.2841, allocations: 15.98 kB / 0.79 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.185e-05/0.2841, allocations: 8 kB / 0.79 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.551e-05/0.2842, allocations: 15.94 kB / 0.79 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.2842, allocations: 4 kB / 0.7901 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001216/0.2843, allocations: 65.69 kB / 0.7901 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.2843, allocations: 4 kB / 0.7901 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.2843, allocations: 3.984 kB / 0.7901 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.2844, allocations: 0 / 0.7901 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.267e-05/0.2845, allocations: 12 kB / 0.7901 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.2845, allocations: 4 kB / 0.7901 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.408e-05/0.2845, allocations: 4 kB / 0.7901 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.114e-06/0.2845, allocations: 0 / 0.7901 GB, free: 8.711 MB / 0.6075 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 9.777e-05/0.2846, allocations: 121.7 kB / 0.7903 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.07e-05/0.2846, allocations: 3.984 kB / 0.7903 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001783/0.2848, allocations: 81.62 kB / 0.7903 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.2848, allocations: 4 kB / 0.7903 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.2848, allocations: 4 kB / 0.7903 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.2848, allocations: 0 / 0.7903 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001379/0.285, allocations: 161.6 kB / 0.7905 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.285, allocations: 0 / 0.7905 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.224e-05/0.2851, allocations: 16.17 kB / 0.7905 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.2851, allocations: 0 / 0.7905 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.2851, allocations: 8 kB / 0.7905 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.2851, allocations: 3.938 kB / 0.7905 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.696e-06/0.2851, allocations: 4.391 kB / 0.7905 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001962/0.2853, allocations: 124.9 kB / 0.7907 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.828e-05/0.2854, allocations: 85 kB / 0.7907 GB, free: 8 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.41e-05/0.2854, allocations: 0 / 0.7907 GB, free: 8 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.617e-05/0.2855, allocations: 8.031 kB / 0.7907 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.14e-05/0.2855, allocations: 3.984 kB / 0.7907 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.722e-06/0.2855, allocations: 4 kB / 0.7907 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.085e-05/0.2855, allocations: 75.28 kB / 0.7908 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2856, allocations: 0 / 0.7908 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002412/0.2858, allocations: 36.16 kB / 0.7909 GB, free: 7.875 MB / 0.6075 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.0005894/0.2864, allocations: 0.6826 MB / 0.7915 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001136/0.2865, allocations: 39.92 kB / 0.7916 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2865, allocations: 0 / 0.7916 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.65e-05/0.2866, allocations: 23.98 kB / 0.7916 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001493/0.2867, allocations: 4.062 kB / 0.7916 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006568/0.2874, allocations: 414.8 kB / 0.792 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002688/0.2877, allocations: 0.6809 MB / 0.7926 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.177e-05/0.2877, allocations: 8.25 kB / 0.7927 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.366e-05/0.2878, allocations: 11.44 kB / 0.7927 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of SimCode: time 2.51e-07/0.2878, allocations: 0 / 0.7927 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01355/0.3013, allocations: 1.593 MB / 0.7942 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002044/0.3016, allocations: 216.9 kB / 0.7944 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.897/2.199, allocations: 0 / 0.7944 GB, free: 4.266 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: