Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.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.Examples.SmoothExponential,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_SmoothExponential",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.00107/0.00107, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001255/0.001255, allocations: 194.1 kB / 16.14 MB, free: 6.711 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.729/1.729, allocations: 205.1 MB / 222 MB, free: 4.777 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.727/1.727, allocations: 292.3 MB / 0.5484 GB, free: 13.64 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.001403/0.001403, allocations: 67.77 kB / 0.6709 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2633/0.2647, allocations: 114.5 MB / 0.7828 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.0025/0.2672, allocations: 1.507 MB / 0.7843 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0004254/0.2677, allocations: 196.3 kB / 0.7844 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.29e-05/0.2677, allocations: 0 / 0.7844 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.542e-05/0.2677, allocations: 0 / 0.7844 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.13e-05/0.2678, allocations: 11.86 kB / 0.7845 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002115/0.268, allocations: 27.97 kB / 0.7845 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.538e-05/0.2681, allocations: 23.92 kB / 0.7845 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.624e-05/0.2682, allocations: 8 kB / 0.7845 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.295e-05/0.2682, allocations: 8 kB / 0.7845 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.307e-05/0.2683, allocations: 7.922 kB / 0.7845 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.344e-05/0.2683, allocations: 4 kB / 0.7845 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.611e-05/0.2684, allocations: 39.95 kB / 0.7846 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.604e-05/0.2684, allocations: 7.984 kB / 0.7846 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.161e-05/0.2684, allocations: 3.938 kB / 0.7846 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001029/0.2685, allocations: 35.89 kB / 0.7846 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.2685, allocations: 0 / 0.7846 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.12e-07/0.2685, allocations: 0 / 0.7846 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.2686, allocations: 0 / 0.7846 GB, free: 12.03 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004239/0.269, allocations: 351.7 kB / 0.785 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.269, allocations: 8.031 kB / 0.785 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.385e-05/0.2691, allocations: 38.73 kB / 0.785 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.691e-05/0.2691, allocations: 0.9375 kB / 0.785 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/0.2692, allocations: 172.2 kB / 0.7852 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.2692, allocations: 8.375 kB / 0.7852 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.648e-06/0.2692, allocations: 384 / 0.7852 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.2694, allocations: 54.23 kB / 0.7852 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.2694, allocations: 3.938 kB / 0.7852 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.2694, allocations: 0 / 0.7852 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.2695, allocations: 0 / 0.7852 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001524/0.2696, allocations: 35.95 kB / 0.7853 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000302/0.2699, allocations: 244.9 kB / 0.7855 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001189/0.27, allocations: 43.56 kB / 0.7855 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.223e-05/0.2701, allocations: 28.89 kB / 0.7856 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.231e-05/0.2702, allocations: 77.11 kB / 0.7856 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.2703, allocations: 38.5 kB / 0.7857 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.2703, allocations: 0 / 0.7857 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003355/0.2706, allocations: 89.56 kB / 0.7858 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.223e-05/0.2707, allocations: 55.41 kB / 0.7858 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.418e-05/0.2707, allocations: 101.8 kB / 0.7859 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.257e-05/0.2708, allocations: 25.7 kB / 0.7859 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.18e-05/0.2708, allocations: 84.14 kB / 0.786 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.792e-05/0.2708, allocations: 11.84 kB / 0.786 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-05/0.2709, allocations: 9.719 kB / 0.786 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.66e-05/0.271, allocations: 326.9 kB / 0.7863 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.182e-05/0.271, allocations: 15.98 kB / 0.7864 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.858e-05/0.2711, allocations: 11.98 kB / 0.7864 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001371/0.2713, allocations: 36.83 kB / 0.7864 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.2713, allocations: 3.938 kB / 0.7864 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001814/0.2715, allocations: 77.66 kB / 0.7865 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.2715, allocations: 4 kB / 0.7865 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.2715, allocations: 0 / 0.7865 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.2715, allocations: 4 kB / 0.7865 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.499e-05/0.2716, allocations: 7.984 kB / 0.7865 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.2716, allocations: 0 / 0.7865 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.605e-05/0.2717, allocations: 11.89 kB / 0.7865 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-06/0.2717, allocations: 4.281 kB / 0.7865 GB, free: 9.828 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 (2): * Single equations (assignments): 2 * 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 6.768e-05/0.2717, allocations: 113.8 kB / 0.7866 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.163e-05/0.2718, allocations: 0 / 0.7866 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002195/0.272, allocations: 76.72 kB / 0.7867 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.272, allocations: 4 kB / 0.7867 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.272, allocations: 0 / 0.7867 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.272, allocations: 0 / 0.7867 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001505/0.2722, allocations: 165.6 kB / 0.7869 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2722, allocations: 0 / 0.7869 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.401e-05/0.2722, allocations: 11.98 kB / 0.7869 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.2723, allocations: 0 / 0.7869 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-06/0.2723, allocations: 0 / 0.7869 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.2723, allocations: 0 / 0.7869 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.2723, allocations: 0 / 0.7869 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002215/0.2725, allocations: 171.4 kB / 0.787 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.803e-05/0.2725, allocations: 85.02 kB / 0.7871 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.208e-05/0.2726, allocations: 0 / 0.7871 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.004e-05/0.2726, allocations: 7.984 kB / 0.7871 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.237e-05/0.2727, allocations: 0 / 0.7871 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-06/0.2727, allocations: 0 / 0.7871 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.615e-05/0.2727, allocations: 87.22 kB / 0.7872 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2727, allocations: 0 / 0.7872 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002159/0.2729, allocations: 16.02 kB / 0.7872 GB, free: 9.004 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0005081/0.2735, allocations: 0.7007 MB / 0.7879 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001995/0.2737, allocations: 36 kB / 0.7879 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2737, allocations: 0 / 0.7879 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.265e-05/0.2738, allocations: 27.91 kB / 0.788 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002897/0.2741, allocations: 3.938 kB / 0.788 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004144/0.2745, allocations: 147.7 kB / 0.7881 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002106/0.2747, allocations: 0.6811 MB / 0.7888 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.409e-05/0.2747, allocations: 4 kB / 0.7888 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.193e-05/0.2748, allocations: 7.438 kB / 0.7888 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of SimCode: time 2.124e-06/0.2748, allocations: 0 / 0.7888 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01027/0.2851, allocations: 1.247 MB / 0.79 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001778/0.2853, allocations: 200.1 kB / 0.7902 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.634/1.919, allocations: 0 / 0.7902 GB, free: 5.902 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Examples_SmoothExponential_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Examples_SmoothExponential.fmu > Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)