Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothLimit",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.001063/0.001063, 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.001103/0.001103, allocations: 196.6 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 222.9 MB / 240.2 MB, free: 4.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002212/0.002212, allocations: 279 kB / 290.7 MB, free: 2.027 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9852/0.9852, allocations: 169.3 MB / 0.4982 GB, free: 13.98 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001738/0.001738, allocations: 98.69 kB / 0.5953 GB, free: 27.81 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1911/0.1928, allocations: 86.98 MB / 0.6803 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothLimit): time 0.004037/0.1969, allocations: 1.454 MB / 0.6817 GB, free: 15.13 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001204/0.1981, allocations: 0.543 MB / 0.6822 GB, free: 14.58 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.318e-05/0.1982, allocations: 7.938 kB / 0.6822 GB, free: 14.57 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.045e-05/0.1983, allocations: 4.656 kB / 0.6822 GB, free: 14.57 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.008e-05/0.1984, allocations: 8.547 kB / 0.6823 GB, free: 14.56 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002929/0.1987, allocations: 53.67 kB / 0.6823 GB, free: 14.51 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.749e-05/0.1987, allocations: 31.84 kB / 0.6823 GB, free: 14.48 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.493e-05/0.1988, allocations: 8.281 kB / 0.6823 GB, free: 14.47 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.156e-05/0.1989, allocations: 15.94 kB / 0.6824 GB, free: 14.46 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.052e-05/0.199, allocations: 11.92 kB / 0.6824 GB, free: 14.45 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.4e-05/0.199, allocations: 4 kB / 0.6824 GB, free: 14.44 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001248/0.1991, allocations: 51.94 kB / 0.6824 GB, free: 14.39 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.466e-05/0.1992, allocations: 7.938 kB / 0.6824 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.709e-05/0.1992, allocations: 11.94 kB / 0.6824 GB, free: 14.37 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001598/0.1994, allocations: 75.78 kB / 0.6825 GB, free: 14.3 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.1994, allocations: 0 / 0.6825 GB, free: 14.3 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.71e-07/0.1994, allocations: 0 / 0.6825 GB, free: 14.3 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.1994, allocations: 0 / 0.6825 GB, free: 14.3 MB / 494.1 MB 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.0004124/0.1998, allocations: 339.5 kB / 0.6828 GB, free: 13.92 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.1999, allocations: 12.03 kB / 0.6829 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.265e-05/0.1999, allocations: 30.75 kB / 0.6829 GB, free: 13.87 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.288e-05/0.1999, allocations: 12.83 kB / 0.6829 GB, free: 13.86 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.2001, allocations: 168.3 kB / 0.6831 GB, free: 13.65 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.2001, allocations: 384 / 0.6831 GB, free: 13.65 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.422e-05/0.2001, allocations: 12.31 kB / 0.6831 GB, free: 13.64 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/0.2003, allocations: 45.75 kB / 0.6831 GB, free: 13.59 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.2003, allocations: 0 / 0.6831 GB, free: 13.59 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.2003, allocations: 8 kB / 0.6831 GB, free: 13.58 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.2003, allocations: 0 / 0.6831 GB, free: 13.58 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.681e-05/0.2004, allocations: 15.98 kB / 0.6831 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003534/0.2008, allocations: 256.8 kB / 0.6834 GB, free: 13.27 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.163e-05/0.2009, allocations: 34.56 kB / 0.6834 GB, free: 13.22 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.26e-05/0.2009, allocations: 20.86 kB / 0.6834 GB, free: 13.2 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000844/0.2018, allocations: 473.4 kB / 0.6839 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/0.2018, allocations: 30.56 kB / 0.6839 GB, free: 12.61 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.2018, allocations: 0 / 0.6839 GB, free: 12.61 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002494/0.2021, allocations: 69.67 kB / 0.684 GB, free: 12.53 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/0.2022, allocations: 51.41 kB / 0.684 GB, free: 12.47 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.72e-05/0.2023, allocations: 113.8 kB / 0.6841 GB, free: 12.35 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.2023, allocations: 25.7 kB / 0.6842 GB, free: 12.32 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.252e-05/0.2023, allocations: 88.14 kB / 0.6842 GB, free: 12.23 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.873e-05/0.2024, allocations: 3.906 kB / 0.6842 GB, free: 12.22 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.631e-05/0.2024, allocations: 21.7 kB / 0.6843 GB, free: 12.2 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.2025, allocations: 318.9 kB / 0.6846 GB, free: 11.88 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.333e-05/0.2026, allocations: 15.86 kB / 0.6846 GB, free: 11.86 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.638e-05/0.2026, allocations: 12 kB / 0.6846 GB, free: 11.85 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.996e-05/0.2027, allocations: 24.84 kB / 0.6846 GB, free: 11.82 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.2027, allocations: 0 / 0.6846 GB, free: 11.82 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001201/0.2028, allocations: 49.69 kB / 0.6847 GB, free: 11.77 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.2029, allocations: 12.09 kB / 0.6847 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.2029, allocations: 0 / 0.6847 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.2029, allocations: 0 / 0.6847 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.174e-05/0.203, allocations: 7.984 kB / 0.6847 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.203, allocations: 0 / 0.6847 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.148e-05/0.203, allocations: 3.938 kB / 0.6847 GB, free: 11.74 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.069e-06/0.2031, allocations: 4 kB / 0.6847 GB, free: 11.74 MB / 494.1 MB 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 7.461e-05/0.2031, allocations: 114.4 kB / 0.6848 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.016e-05/0.2032, allocations: 11.89 kB / 0.6848 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001687/0.2034, allocations: 61.22 kB / 0.6849 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.167e-06/0.2034, allocations: 0 / 0.6849 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.2034, allocations: 7.922 kB / 0.6849 GB, free: 11.53 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.2034, allocations: 3.984 kB / 0.6849 GB, free: 11.53 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000169/0.2036, allocations: 161.6 kB / 0.685 GB, free: 11.32 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2036, allocations: 0 / 0.685 GB, free: 11.32 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.305e-05/0.2036, allocations: 7.984 kB / 0.685 GB, free: 11.31 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.2036, allocations: 0 / 0.685 GB, free: 11.31 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.2036, allocations: 0 / 0.685 GB, free: 11.31 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.2036, allocations: 4.031 kB / 0.6851 GB, free: 11.31 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.2037, allocations: 4 kB / 0.6851 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001808/0.2038, allocations: 155.4 kB / 0.6852 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.857e-05/0.2039, allocations: 85 kB / 0.6853 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.2039, allocations: 0 / 0.6853 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.642e-05/0.204, allocations: 4 kB / 0.6853 GB, free: 11.03 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.155e-05/0.204, allocations: 4.031 kB / 0.6853 GB, free: 11.03 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.2041, allocations: 0 / 0.6853 GB, free: 11.03 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.239e-05/0.2041, allocations: 91.27 kB / 0.6854 GB, free: 10.94 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.2041, allocations: 0 / 0.6854 GB, free: 10.94 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002522/0.2044, allocations: 19.94 kB / 0.6854 GB, free: 10.92 MB / 494.1 MB 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.0005493/0.2049, allocations: 0.7085 MB / 0.6861 GB, free: 10.18 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001341/0.2051, allocations: 19.98 kB / 0.6861 GB, free: 10.16 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.2051, allocations: 0 / 0.6861 GB, free: 10.16 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.602e-05/0.2051, allocations: 12 kB / 0.6861 GB, free: 10.15 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000203/0.2053, allocations: 4 kB / 0.6861 GB, free: 10.15 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004613/0.2058, allocations: 180.3 kB / 0.6863 GB, free: 9.934 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002519/0.2061, allocations: 0.6768 MB / 0.687 GB, free: 9.23 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.434e-05/0.2061, allocations: 4 kB / 0.687 GB, free: 9.227 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.298e-05/0.2061, allocations: 19.36 kB / 0.687 GB, free: 9.207 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2062, allocations: 0 / 0.687 GB, free: 9.207 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01888/0.225, allocations: 1.597 MB / 0.6885 GB, free: 7.688 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.308/9.533, allocations: 9.047 kB / 0.6885 GB, free: 7.68 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothLimit_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothLimit.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)