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.0009855/0.0009856, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009451/0.0009452, allocations: 193.6 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.173/1.173, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.505/1.505, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.001331/0.001331, allocations: 69.5 kB / 0.6716 GB, free: 26.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.1682, allocations: 114.6 MB / 0.7835 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001629/0.1699, allocations: 0.5901 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003386/0.1703, allocations: 159.5 kB / 0.7842 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.937e-05/0.1703, allocations: 0 / 0.7842 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.013e-05/0.1703, allocations: 4 kB / 0.7842 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 1.661e-05/0.1703, allocations: 0 / 0.7842 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00026/0.1706, allocations: 47.41 kB / 0.7843 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.359e-05/0.1706, allocations: 23.91 kB / 0.7843 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.453e-05/0.1707, allocations: 3.938 kB / 0.7843 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.935e-05/0.1707, allocations: 8 kB / 0.7843 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.1e-05/0.1708, allocations: 11.92 kB / 0.7843 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.042e-05/0.1708, allocations: 0 / 0.7843 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.968e-05/0.1709, allocations: 31.97 kB / 0.7843 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.261e-05/0.1709, allocations: 3.984 kB / 0.7843 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.118e-05/0.1709, allocations: 15.94 kB / 0.7844 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.148e-05/0.171, allocations: 31.94 kB / 0.7844 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.171, allocations: 0 / 0.7844 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.172e-06/0.171, allocations: 0 / 0.7844 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.977e-06/0.171, allocations: 0 / 0.7844 GB, free: 12.41 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.0003078/0.1713, allocations: 327.6 kB / 0.7847 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.1714, allocations: 8.031 kB / 0.7847 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.966e-05/0.1714, allocations: 38.75 kB / 0.7847 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.364e-05/0.1714, allocations: 4.844 kB / 0.7848 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.754e-05/0.1715, allocations: 172.6 kB / 0.7849 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.1715, allocations: 8.359 kB / 0.7849 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.84e-05/0.1716, allocations: 384 / 0.7849 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.332e-05/0.1717, allocations: 42.25 kB / 0.785 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.1717, allocations: 7.875 kB / 0.785 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.624e-06/0.1717, allocations: 0 / 0.785 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.1717, allocations: 4 kB / 0.785 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.912e-05/0.1717, allocations: 19.92 kB / 0.785 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000138/0.1719, allocations: 161.7 kB / 0.7852 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.824e-05/0.172, allocations: 42.56 kB / 0.7852 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.881e-05/0.172, allocations: 20.98 kB / 0.7852 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.733e-05/0.1721, allocations: 85.09 kB / 0.7853 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.861e-05/0.1721, allocations: 34.5 kB / 0.7853 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 9.41e-07/0.1721, allocations: 0 / 0.7853 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.001061/0.1732, allocations: 480 kB / 0.7858 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.389e-05/0.1732, allocations: 55.41 kB / 0.7858 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.762e-05/0.1733, allocations: 93.86 kB / 0.7859 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/0.1733, allocations: 25.7 kB / 0.786 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.219e-05/0.1733, allocations: 84.12 kB / 0.786 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.747e-05/0.1733, allocations: 31.55 kB / 0.7861 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.164e-05/0.1734, allocations: 17.72 kB / 0.7861 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.843e-05/0.1735, allocations: 322.8 kB / 0.7864 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.299e-05/0.1735, allocations: 12.12 kB / 0.7864 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.155e-05/0.1735, allocations: 12.06 kB / 0.7864 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.815e-05/0.1736, allocations: 45.38 kB / 0.7865 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.1736, allocations: 0 / 0.7865 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.529e-05/0.1737, allocations: 69.62 kB / 0.7865 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.288e-06/0.1737, allocations: 4 kB / 0.7865 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.1737, allocations: 4 kB / 0.7865 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.1737, allocations: 4 kB / 0.7865 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.647e-05/0.1738, allocations: 15.92 kB / 0.7865 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.1738, allocations: 0 / 0.7865 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.125e-05/0.1738, allocations: 8 kB / 0.7866 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-06/0.1738, allocations: 0 / 0.7866 GB, free: 9.879 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.639e-05/0.1739, allocations: 118.4 kB / 0.7867 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.141e-05/0.1739, allocations: 3.938 kB / 0.7867 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001442/0.1741, allocations: 85.62 kB / 0.7868 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.1741, allocations: 0 / 0.7868 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1741, allocations: 3.984 kB / 0.7868 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.257e-06/0.1741, allocations: 4 kB / 0.7868 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.557e-05/0.1742, allocations: 157.7 kB / 0.7869 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1742, allocations: 3.938 kB / 0.7869 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.558e-05/0.1743, allocations: 23.86 kB / 0.7869 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.1743, allocations: 0 / 0.7869 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.1743, allocations: 8 kB / 0.7869 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1743, allocations: 0 / 0.7869 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1743, allocations: 0 / 0.7869 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001458/0.1745, allocations: 113 kB / 0.7871 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.091e-05/0.1745, allocations: 85.14 kB / 0.7871 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.242e-05/0.1745, allocations: 7.984 kB / 0.7871 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.963e-05/0.1746, allocations: 4 kB / 0.7871 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.825e-05/0.1746, allocations: 7.984 kB / 0.7872 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/0.1746, allocations: 0 / 0.7872 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.673e-05/0.1746, allocations: 79.28 kB / 0.7872 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1746, allocations: 0 / 0.7872 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001964/0.1748, allocations: 32 kB / 0.7873 GB, free: 9.051 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 (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.0004131/0.1753, allocations: 0.6866 MB / 0.7879 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 9.371e-05/0.1754, allocations: 40.23 kB / 0.788 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1754, allocations: 0 / 0.788 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.079e-05/0.1754, allocations: 24.14 kB / 0.788 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001217/0.1755, allocations: 6.438 kB / 0.788 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008473/0.1764, allocations: 1.207 MB / 0.7892 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002043/0.1766, allocations: 0.6845 MB / 0.7898 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.99e-05/0.1766, allocations: 4 kB / 0.7898 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.821e-05/0.1767, allocations: 15.42 kB / 0.7899 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.1767, allocations: 0 / 0.7899 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.243/2.42, allocations: 1.787 MB / 0.7916 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.18/15.6, allocations: 9.938 kB / 0.7916 GB, free: 4.586 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/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)