Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 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.SmoothLimit,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="Buildings_8_Buildings_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.001155/0.001155, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001393/0.001393, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.804/1.804, allocations: 205.4 MB / 222.1 MB, free: 5.633 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.899/1.899, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.0005693/0.0005694, allocations: 16.22 kB / 0.6738 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2783/0.2789, allocations: 116.3 MB / 0.7874 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.001693/0.2806, allocations: 1.168 MB / 0.7885 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000929/0.2816, allocations: 0.5721 MB / 0.7891 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.815e-05/0.2816, allocations: 0 / 0.7891 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.328e-05/0.2816, allocations: 0 / 0.7891 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.115e-05/0.2817, allocations: 3.938 kB / 0.7891 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000232/0.2819, allocations: 35.95 kB / 0.7891 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.187e-05/0.282, allocations: 23.88 kB / 0.7892 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.157e-05/0.2821, allocations: 15.92 kB / 0.7892 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.377e-05/0.2822, allocations: 15.94 kB / 0.7892 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.587e-05/0.2823, allocations: 7.984 kB / 0.7892 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.198e-05/0.2823, allocations: 3.938 kB / 0.7892 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000103/0.2824, allocations: 51.94 kB / 0.7893 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.013e-05/0.2824, allocations: 0 / 0.7893 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.519e-05/0.2824, allocations: 29.7 kB / 0.7893 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.877e-05/0.2825, allocations: 44.22 kB / 0.7893 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.78e-06/0.2825, allocations: 0 / 0.7893 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2826, allocations: 4 kB / 0.7893 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.617e-06/0.2826, allocations: 3.938 kB / 0.7893 GB, free: 9.859 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.0004434/0.283, allocations: 343.2 kB / 0.7897 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.2831, allocations: 12.03 kB / 0.7897 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.461e-05/0.2831, allocations: 34.56 kB / 0.7897 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.208e-05/0.2831, allocations: 3.906 kB / 0.7897 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.2833, allocations: 178.9 kB / 0.7899 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.887e-06/0.2833, allocations: 0 / 0.7899 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.206e-05/0.2833, allocations: 0 / 0.7899 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.2835, allocations: 49.69 kB / 0.7899 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.2835, allocations: 0 / 0.7899 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.2835, allocations: 0 / 0.7899 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.74e-06/0.2835, allocations: 0 / 0.7899 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.786e-05/0.2836, allocations: 23.98 kB / 0.7899 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000368/0.284, allocations: 260.9 kB / 0.7902 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.504e-05/0.2841, allocations: 30.52 kB / 0.7902 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.672e-05/0.2841, allocations: 20.91 kB / 0.7902 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007728/0.2849, allocations: 0.4897 MB / 0.7907 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/0.2849, allocations: 42.5 kB / 0.7908 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.2849, allocations: 0 / 0.7908 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0002457/0.2852, allocations: 73.52 kB / 0.7908 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.2852, allocations: 51.41 kB / 0.7909 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.051e-05/0.2853, allocations: 113.9 kB / 0.791 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/0.2854, allocations: 33.7 kB / 0.791 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.29e-05/0.2854, allocations: 80.14 kB / 0.7911 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.582e-05/0.2854, allocations: 7.906 kB / 0.7911 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-06/0.2854, allocations: 0 / 0.7911 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.2856, allocations: 314.8 kB / 0.7914 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.87e-05/0.2856, allocations: 7.984 kB / 0.7914 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.466e-05/0.2856, allocations: 16 kB / 0.7914 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.404e-05/0.2857, allocations: 15.98 kB / 0.7914 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2857, allocations: 0 / 0.7914 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001146/0.2858, allocations: 57.69 kB / 0.7915 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.2859, allocations: 6.812 kB / 0.7915 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.2859, allocations: 0 / 0.7915 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.2859, allocations: 0 / 0.7915 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.78e-05/0.286, allocations: 16.02 kB / 0.7915 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.286, allocations: 4 kB / 0.7915 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.578e-05/0.286, allocations: 7.953 kB / 0.7915 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.286, allocations: 0 / 0.7915 GB, free: 7.285 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.338e-05/0.2861, allocations: 109.8 kB / 0.7916 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.226e-05/0.2862, allocations: 0 / 0.7916 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001699/0.2863, allocations: 77.11 kB / 0.7917 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.2863, allocations: 7.938 kB / 0.7917 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.2864, allocations: 0 / 0.7917 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.2864, allocations: 3.984 kB / 0.7917 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001569/0.2865, allocations: 161.6 kB / 0.7919 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.2865, allocations: 0 / 0.7919 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.608e-05/0.2866, allocations: 11.98 kB / 0.7919 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.2866, allocations: 3.938 kB / 0.7919 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.2866, allocations: 4 kB / 0.7919 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.2866, allocations: 4.031 kB / 0.7919 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.2866, allocations: 0 / 0.7919 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001737/0.2868, allocations: 151.5 kB / 0.792 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.514e-05/0.2868, allocations: 85.03 kB / 0.7921 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.454e-05/0.2869, allocations: 0 / 0.7921 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.305e-05/0.2869, allocations: 8.031 kB / 0.7921 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.76e-05/0.287, allocations: 0 / 0.7921 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.287, allocations: 4 kB / 0.7921 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.003e-05/0.287, allocations: 87.58 kB / 0.7922 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.287, allocations: 0 / 0.7922 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002414/0.2873, allocations: 20 kB / 0.7922 GB, free: 6.457 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005025/0.2878, allocations: 0.7084 MB / 0.7929 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001208/0.2879, allocations: 23.98 kB / 0.793 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2879, allocations: 0 / 0.793 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.329e-05/0.288, allocations: 16.09 kB / 0.793 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002074/0.2882, allocations: 3.938 kB / 0.793 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004026/0.2886, allocations: 174.2 kB / 0.7931 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002679/0.2889, allocations: 0.677 MB / 0.7938 GB, free: 4.766 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.577e-05/0.2889, allocations: 4 kB / 0.7938 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.262e-05/0.289, allocations: 23.42 kB / 0.7938 GB, free: 4.738 MB / 0.6075 GB Notification: Performance of SimCode: time 2.71e-07/0.289, allocations: 0 / 0.7938 GB, free: 4.738 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01252/0.3015, allocations: 1.385 MB / 0.7952 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001785/0.3017, allocations: 176.7 kB / 0.7953 GB, free: 3.23 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.742/2.044, allocations: 7.875 kB / 0.7954 GB, free: 3.223 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Examples_SmoothLimit_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Examples_SmoothLimit.fmu > Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) Environment - environmentSimulation: