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.0009396/0.0009396, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.0009782/0.0009781, allocations: 195.7 kB / 16.26 MB, free: 6.621 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.164/1.164, allocations: 205.1 MB / 222.1 MB, free: 4.902 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.479/1.479, allocations: 292.3 MB / 0.5486 GB, free: 13.65 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.001214/0.001214, allocations: 71.2 kB / 0.6711 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1549, allocations: 114.5 MB / 0.783 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001351/0.1563, allocations: 0.6782 MB / 0.7836 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002893/0.1566, allocations: 155.5 kB / 0.7838 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.57e-05/0.1566, allocations: 0 / 0.7838 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.085e-05/0.1566, allocations: 0 / 0.7838 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 1.814e-05/0.1566, allocations: 0 / 0.7838 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002349/0.1569, allocations: 43.89 kB / 0.7838 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.213e-05/0.1569, allocations: 11.94 kB / 0.7838 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.154e-05/0.157, allocations: 11.98 kB / 0.7839 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.583e-05/0.157, allocations: 8 kB / 0.7839 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.254e-05/0.157, allocations: 3.938 kB / 0.7839 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.094e-05/0.157, allocations: 11.92 kB / 0.7839 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.972e-05/0.1571, allocations: 31.95 kB / 0.7839 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.313e-05/0.1571, allocations: 8 kB / 0.7839 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.375e-05/0.1571, allocations: 0 / 0.7839 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 6.906e-05/0.1572, allocations: 35.88 kB / 0.7839 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.1572, allocations: 0 / 0.7839 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.042e-06/0.1572, allocations: 0 / 0.7839 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.506e-06/0.1572, allocations: 4 kB / 0.784 GB, free: 12.8 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.0002814/0.1575, allocations: 331.5 kB / 0.7843 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.962e-05/0.1576, allocations: 12.03 kB / 0.7843 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.45e-05/0.1576, allocations: 34.75 kB / 0.7843 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.947e-05/0.1576, allocations: 0.9375 kB / 0.7843 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.557e-05/0.1577, allocations: 168.6 kB / 0.7845 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.894e-06/0.1577, allocations: 384 / 0.7845 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.8e-05/0.1577, allocations: 4.375 kB / 0.7845 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.885e-05/0.1578, allocations: 42.25 kB / 0.7845 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.1578, allocations: 11.92 kB / 0.7845 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.1578, allocations: 7.984 kB / 0.7845 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.1578, allocations: 3.938 kB / 0.7845 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.406e-05/0.1579, allocations: 8 kB / 0.7846 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001142/0.158, allocations: 161.7 kB / 0.7847 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.26e-05/0.1581, allocations: 46.5 kB / 0.7847 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.737e-05/0.1581, allocations: 28.97 kB / 0.7848 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.011e-05/0.1582, allocations: 77.11 kB / 0.7849 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.005e-05/0.1582, allocations: 34.56 kB / 0.7849 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 8.71e-07/0.1582, allocations: 3.938 kB / 0.7849 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0009635/0.1592, allocations: 492.2 kB / 0.7854 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.103e-05/0.1592, allocations: 51.41 kB / 0.7854 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.008e-05/0.1593, allocations: 93.86 kB / 0.7855 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/0.1593, allocations: 25.7 kB / 0.7855 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.067e-05/0.1593, allocations: 84.14 kB / 0.7856 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.352e-05/0.1593, allocations: 27.55 kB / 0.7856 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.013e-05/0.1594, allocations: 21.72 kB / 0.7856 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 6.861e-05/0.1594, allocations: 314.8 kB / 0.7859 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.355e-05/0.1595, allocations: 15.98 kB / 0.786 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.937e-05/0.1595, allocations: 8 kB / 0.786 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.247e-05/0.1596, allocations: 40.91 kB / 0.786 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.1596, allocations: 4 kB / 0.786 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.658e-05/0.1596, allocations: 73.61 kB / 0.7861 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.327e-06/0.1597, allocations: 10.66 kB / 0.7861 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.765e-06/0.1597, allocations: 0 / 0.7861 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.544e-06/0.1597, allocations: 0 / 0.7861 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.187e-05/0.1597, allocations: 12 kB / 0.7861 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.9e-06/0.1598, allocations: 3.984 kB / 0.7861 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.979e-05/0.1598, allocations: 0 / 0.7861 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.1598, allocations: 4.312 kB / 0.7861 GB, free: 10.27 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.575e-05/0.1599, allocations: 117.8 kB / 0.7862 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.18e-05/0.1599, allocations: 7.938 kB / 0.7862 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001291/0.16, allocations: 81.62 kB / 0.7863 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.16, allocations: 4 kB / 0.7863 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.16, allocations: 0 / 0.7863 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.16, allocations: 0 / 0.7863 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.824e-05/0.1601, allocations: 165.6 kB / 0.7865 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1601, allocations: 192 / 0.7865 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.78e-05/0.1602, allocations: 23.88 kB / 0.7865 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.1602, allocations: 4 kB / 0.7865 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.276e-06/0.1602, allocations: 7.938 kB / 0.7865 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1602, allocations: 0 / 0.7865 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.1602, allocations: 0 / 0.7865 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001351/0.1604, allocations: 113 kB / 0.7866 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.434e-05/0.1604, allocations: 85.03 kB / 0.7867 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.261e-05/0.1604, allocations: 4 kB / 0.7867 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.932e-05/0.1605, allocations: 4.094 kB / 0.7867 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.073e-05/0.1605, allocations: 4 kB / 0.7867 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.71e-06/0.1605, allocations: 4 kB / 0.7867 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.563e-05/0.1605, allocations: 79.27 kB / 0.7868 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1605, allocations: 3.938 kB / 0.7868 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001823/0.1607, allocations: 32 kB / 0.7868 GB, free: 9.441 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.000383/0.1611, allocations: 0.6896 MB / 0.7875 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.505e-05/0.1612, allocations: 43.92 kB / 0.7875 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.1612, allocations: 0 / 0.7875 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.83e-05/0.1612, allocations: 19.98 kB / 0.7876 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001243/0.1614, allocations: 8 kB / 0.7876 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007425/0.1621, allocations: 1.203 MB / 0.7887 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001533/0.1623, allocations: 0.6807 MB / 0.7894 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.963e-05/0.1623, allocations: 12.67 kB / 0.7894 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.435e-05/0.1623, allocations: 11.44 kB / 0.7894 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of SimCode: time 2.01e-07/0.1624, allocations: 0 / 0.7894 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.756/2.919, allocations: 1.712 MB / 0.7911 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002345/2.919, allocations: 235.5 kB / 0.7913 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.644/6.563, allocations: 4 kB / 0.7913 GB, free: 4.836 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)