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.001932/0.001933, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.003243/0.003242, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.503/3.503, allocations: 205.4 MB / 222.1 MB, free: 5.66 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 3.385/3.385, allocations: 292.6 MB / 0.5497 GB, free: 14.62 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.0009271/0.0009273, allocations: 23.81 kB / 0.6737 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5286/0.5296, allocations: 116.3 MB / 0.7872 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001715/0.5314, allocations: 337.8 kB / 0.7876 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007196/0.5322, allocations: 149.3 kB / 0.7877 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.912e-05/0.5323, allocations: 0 / 0.7877 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.175e-05/0.5323, allocations: 0 / 0.7877 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.039e-05/0.5324, allocations: 0 / 0.7877 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005076/0.5329, allocations: 31.97 kB / 0.7877 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.444e-05/0.533, allocations: 7.984 kB / 0.7877 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.5331, allocations: 0 / 0.7877 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.948e-05/0.5332, allocations: 7.938 kB / 0.7878 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001501/0.5333, allocations: 7.984 kB / 0.7878 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.111e-05/0.5334, allocations: 4 kB / 0.7878 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001723/0.5336, allocations: 31.95 kB / 0.7878 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.001e-05/0.5336, allocations: 0 / 0.7878 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.336e-05/0.5337, allocations: 37.58 kB / 0.7878 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001354/0.5338, allocations: 19.91 kB / 0.7878 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.5339, allocations: 4 kB / 0.7879 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of FrontEnd: time 5.08e-06/0.5339, allocations: 0 / 0.7879 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.091e-05/0.5339, allocations: 0 / 0.7879 GB, free: 11.23 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.0008334/0.5347, allocations: 323.4 kB / 0.7882 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 8.513e-05/0.5348, allocations: 12.03 kB / 0.7882 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.422e-05/0.5349, allocations: 30.56 kB / 0.7882 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.089e-05/0.535, allocations: 3.906 kB / 0.7882 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002442/0.5353, allocations: 175.2 kB / 0.7884 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/0.5353, allocations: 4 kB / 0.7884 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.156e-05/0.5354, allocations: 4 kB / 0.7884 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001852/0.5356, allocations: 41.69 kB / 0.7884 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.5356, allocations: 0 / 0.7884 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.5356, allocations: 0 / 0.7884 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.5356, allocations: 4 kB / 0.7884 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.844e-05/0.5357, allocations: 19.92 kB / 0.7884 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000338/0.5361, allocations: 157.6 kB / 0.7886 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001711/0.5362, allocations: 50.61 kB / 0.7886 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002234/0.5365, allocations: 85.09 kB / 0.7887 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.54e-05/0.5366, allocations: 30.69 kB / 0.7888 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.263e-06/0.5366, allocations: 0 / 0.7888 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.002407/0.539, allocations: 492 kB / 0.7892 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.197e-05/0.5391, allocations: 55.39 kB / 0.7893 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001708/0.5393, allocations: 97.86 kB / 0.7894 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.406e-05/0.5393, allocations: 25.7 kB / 0.7894 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.343e-05/0.5394, allocations: 80.14 kB / 0.7895 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.435e-05/0.5395, allocations: 23.66 kB / 0.7895 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.7e-06/0.5395, allocations: 0 / 0.7895 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0004239/0.54, allocations: 318.8 kB / 0.7898 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.974e-05/0.54, allocations: 8 kB / 0.7898 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.35e-05/0.5401, allocations: 15.98 kB / 0.7898 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.82e-05/0.5402, allocations: 23.88 kB / 0.7898 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.5402, allocations: 4.125 kB / 0.7898 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002182/0.5404, allocations: 73.53 kB / 0.7899 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.283e-05/0.5405, allocations: 8 kB / 0.7899 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/0.5405, allocations: 0 / 0.7899 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.243e-05/0.5406, allocations: 0 / 0.7899 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001631/0.5407, allocations: 15.98 kB / 0.7899 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.5408, allocations: 0 / 0.7899 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.967e-05/0.5408, allocations: 0 / 0.7899 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.785e-05/0.5408, allocations: 8 kB / 0.7899 GB, free: 8.777 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 0.0002293/0.5411, allocations: 113.8 kB / 0.7901 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.947e-05/0.5411, allocations: 4 kB / 0.7901 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003329/0.5415, allocations: 81.58 kB / 0.7901 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.5415, allocations: 0 / 0.7901 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.375e-05/0.5415, allocations: 4.438 kB / 0.7901 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.5415, allocations: 0 / 0.7901 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003865/0.5419, allocations: 173.6 kB / 0.7903 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.45e-05/0.542, allocations: 7.953 kB / 0.7903 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001379/0.5421, allocations: 12 kB / 0.7903 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.5421, allocations: 4 kB / 0.7903 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.5422, allocations: 0 / 0.7903 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.5422, allocations: 0 / 0.7903 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.113e-06/0.5422, allocations: 3.984 kB / 0.7903 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003681/0.5426, allocations: 121.3 kB / 0.7904 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.823e-05/0.5427, allocations: 85.09 kB / 0.7905 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.453e-05/0.5427, allocations: 0 / 0.7905 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.086e-05/0.5428, allocations: 0 / 0.7905 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.846e-05/0.5428, allocations: 8.062 kB / 0.7905 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.691e-05/0.5428, allocations: 7.984 kB / 0.7905 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001338/0.543, allocations: 79.28 kB / 0.7906 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.81e-07/0.543, allocations: 0 / 0.7906 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004406/0.5434, allocations: 28 kB / 0.7906 GB, free: 7.953 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.001257/0.5447, allocations: 0.6827 MB / 0.7913 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000195/0.5449, allocations: 39.97 kB / 0.7913 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.5449, allocations: 3.938 kB / 0.7914 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.13e-05/0.545, allocations: 27.92 kB / 0.7914 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002099/0.5452, allocations: 4 kB / 0.7914 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001187/0.5464, allocations: 422.8 kB / 0.7918 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005303/0.547, allocations: 0.6848 MB / 0.7925 GB, free: 6 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.615e-05/0.5471, allocations: 4.281 kB / 0.7925 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.563e-05/0.5471, allocations: 15.38 kB / 0.7925 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of SimCode: time 1.133e-06/0.5472, allocations: 0 / 0.7925 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02336/0.5705, allocations: 1.58 MB / 0.794 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005266/0.5712, allocations: 213.2 kB / 0.7942 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.035/3.606, allocations: 0 / 0.7942 GB, free: 4.336 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: