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.343/1.343, allocations: 251.5 MB / 266.7 MB, free: 11.04 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.0009183/0.0009182, allocations: 170.6 kB / 325.8 MB, free: 2.684 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.523/1.523, allocations: 205 MB / 0.576 GB, free: 20.94 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.0008329/0.0008329, allocations: 94.45 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002887/0.0002887, allocations: 10.97 kB / 0.7933 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1755/0.1758, allocations: 105.4 MB / 0.8962 GB, free: 68.05 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.0006528/0.1765, allocations: 358.9 kB / 0.8966 GB, free: 67.7 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003479/0.1768, allocations: 163.5 kB / 0.8967 GB, free: 67.54 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.286e-05/0.1768, allocations: 0 / 0.8967 GB, free: 67.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.452e-05/0.1769, allocations: 0 / 0.8967 GB, free: 67.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.203e-05/0.1769, allocations: 3.938 kB / 0.8967 GB, free: 67.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002204/0.1771, allocations: 27.92 kB / 0.8967 GB, free: 67.51 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 3.89e-05/0.1772, allocations: 15.98 kB / 0.8968 GB, free: 67.49 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.807e-05/0.1772, allocations: 8.734 kB / 0.8968 GB, free: 67.48 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.642e-05/0.1772, allocations: 8 kB / 0.8968 GB, free: 67.48 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.698e-05/0.1773, allocations: 11.92 kB / 0.8968 GB, free: 67.46 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.095e-05/0.1773, allocations: 0 / 0.8968 GB, free: 67.46 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.871e-05/0.1774, allocations: 31.97 kB / 0.8968 GB, free: 67.43 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.271e-05/0.1774, allocations: 3.984 kB / 0.8968 GB, free: 67.43 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.833e-05/0.1774, allocations: 15.92 kB / 0.8968 GB, free: 67.41 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.46e-05/0.1775, allocations: 23.97 kB / 0.8969 GB, free: 67.39 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1775, allocations: 4 kB / 0.8969 GB, free: 67.39 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.743e-06/0.1775, allocations: 0 / 0.8969 GB, free: 67.39 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.1775, allocations: 0 / 0.8969 GB, free: 67.39 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.0002534/0.1778, allocations: 331.8 kB / 0.8972 GB, free: 67.01 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.1778, allocations: 15.97 kB / 0.8972 GB, free: 67 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.465e-05/0.1779, allocations: 30.75 kB / 0.8972 GB, free: 66.96 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.394e-05/0.1779, allocations: 0.9375 kB / 0.8972 GB, free: 66.96 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.506e-05/0.178, allocations: 172.4 kB / 0.8974 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.502e-06/0.178, allocations: 384 / 0.8974 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.775e-05/0.178, allocations: 8.375 kB / 0.8974 GB, free: 66.74 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.733e-05/0.1781, allocations: 42.25 kB / 0.8974 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.084e-06/0.1781, allocations: 3.938 kB / 0.8974 GB, free: 66.69 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.003e-06/0.1781, allocations: 4 kB / 0.8974 GB, free: 66.69 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.1781, allocations: 0 / 0.8974 GB, free: 66.69 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.698e-05/0.1782, allocations: 19.92 kB / 0.8975 GB, free: 66.67 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001084/0.1783, allocations: 153.7 kB / 0.8976 GB, free: 66.47 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 6.686e-05/0.1784, allocations: 54.61 kB / 0.8977 GB, free: 66.41 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.458e-05/0.1784, allocations: 16.98 kB / 0.8977 GB, free: 66.39 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 6.66e-05/0.1785, allocations: 77.11 kB / 0.8977 GB, free: 66.29 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.557e-05/0.1785, allocations: 38.55 kB / 0.8978 GB, free: 66.25 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.1785, allocations: 0 / 0.8978 GB, free: 66.25 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.001058/0.1796, allocations: 492.1 kB / 0.8983 GB, free: 65.69 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.233e-05/0.1796, allocations: 55.41 kB / 0.8983 GB, free: 65.62 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.289e-05/0.1796, allocations: 93.86 kB / 0.8984 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.125e-06/0.1796, allocations: 29.7 kB / 0.8984 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.211e-05/0.1797, allocations: 84.08 kB / 0.8985 GB, free: 65.4 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.335e-05/0.1797, allocations: 27.69 kB / 0.8985 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.004e-05/0.1797, allocations: 9.719 kB / 0.8985 GB, free: 65.36 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.054e-05/0.1798, allocations: 318.8 kB / 0.8988 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.187e-05/0.1798, allocations: 7.984 kB / 0.8989 GB, free: 65.03 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.928e-05/0.1798, allocations: 12.12 kB / 0.8989 GB, free: 65.02 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.288e-05/0.1799, allocations: 44.84 kB / 0.8989 GB, free: 64.97 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-07/0.1799, allocations: 0 / 0.8989 GB, free: 64.97 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.437e-05/0.18, allocations: 73.56 kB / 0.899 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/0.18, allocations: 4 kB / 0.899 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.18, allocations: 0 / 0.899 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.18, allocations: 7.938 kB / 0.899 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.643e-05/0.1801, allocations: 8 kB / 0.899 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.1801, allocations: 3.984 kB / 0.899 GB, free: 64.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.054e-05/0.1801, allocations: 7.938 kB / 0.899 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.01e-06/0.1801, allocations: 4 kB / 0.899 GB, free: 64.86 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.514e-05/0.1802, allocations: 113.8 kB / 0.8991 GB, free: 64.74 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.139e-05/0.1802, allocations: 7.844 kB / 0.8991 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000132/0.1803, allocations: 89.56 kB / 0.8992 GB, free: 64.63 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1803, allocations: 0 / 0.8992 GB, free: 64.63 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.1804, allocations: 0 / 0.8992 GB, free: 64.63 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.1804, allocations: 0 / 0.8992 GB, free: 64.63 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.809e-05/0.1804, allocations: 161.7 kB / 0.8994 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1804, allocations: 4 kB / 0.8994 GB, free: 64.42 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.818e-05/0.1805, allocations: 15.94 kB / 0.8994 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.1805, allocations: 192 / 0.8994 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.1805, allocations: 12 kB / 0.8994 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1805, allocations: 0 / 0.8994 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1805, allocations: 0 / 0.8994 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001293/0.1807, allocations: 109.4 kB / 0.8995 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.586e-05/0.1807, allocations: 88.94 kB / 0.8996 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.167e-05/0.1807, allocations: 8.094 kB / 0.8996 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.071e-05/0.1808, allocations: 4 kB / 0.8996 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.715e-05/0.1808, allocations: 4 kB / 0.8996 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/0.1808, allocations: 0 / 0.8996 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.497e-05/0.1808, allocations: 83.27 kB / 0.8997 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.1808, allocations: 0 / 0.8997 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001841/0.181, allocations: 32 kB / 0.8997 GB, free: 64.04 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003346/0.1814, allocations: 0.6984 MB / 0.9004 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.792e-05/0.1814, allocations: 35.98 kB / 0.9004 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1815, allocations: 0 / 0.9004 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.737e-05/0.1815, allocations: 27.92 kB / 0.9005 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001222/0.1816, allocations: 0 / 0.9005 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006481/0.1823, allocations: 1.201 MB / 0.9016 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.428e-05/0.1824, allocations: 0.6849 MB / 0.9023 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.219e-05/0.1824, allocations: 7.75 kB / 0.9023 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.588e-05/0.1824, allocations: 15.44 kB / 0.9023 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of SimCode: time 2.31e-07/0.1824, allocations: 0 / 0.9023 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009897/0.1923, allocations: 1.611 MB / 0.9039 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001239/0.1925, allocations: 243.3 kB / 0.9041 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.619/1.811, allocations: 0 / 0.9041 GB, free: 59.57 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)