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.001176/0.001176, allocations: 105.4 kB / 15.7 MB, free: 28 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.001265/0.001265, allocations: 194.2 kB / 16.64 MB, free: 6.453 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.377/1.377, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.643/1.643, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001999/0.002, allocations: 77.67 kB / 0.6718 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2116/0.2136, allocations: 114.6 MB / 0.7836 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002921/0.2166, allocations: 1.445 MB / 0.7851 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009186/0.2176, allocations: 0.6016 MB / 0.7856 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.268e-05/0.2176, allocations: 4 kB / 0.7857 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.892e-05/0.2177, allocations: 7.922 kB / 0.7857 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.166e-05/0.2177, allocations: 3.938 kB / 0.7857 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002542/0.218, allocations: 47.83 kB / 0.7857 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.888e-05/0.2181, allocations: 27.92 kB / 0.7857 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.111e-05/0.2182, allocations: 11.92 kB / 0.7857 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.216e-05/0.2183, allocations: 15.98 kB / 0.7858 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.207e-05/0.2183, allocations: 15.92 kB / 0.7858 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.204e-05/0.2183, allocations: 8 kB / 0.7858 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.2184, allocations: 43.97 kB / 0.7858 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.628e-05/0.2185, allocations: 11.91 kB / 0.7858 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.151e-05/0.2185, allocations: 11.94 kB / 0.7858 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001287/0.2186, allocations: 64.14 kB / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.2186, allocations: 0 / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2186, allocations: 0 / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.2187, allocations: 0 / 0.7859 GB, free: 10.89 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.0004327/0.2191, allocations: 355.3 kB / 0.7862 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.2191, allocations: 12.03 kB / 0.7863 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.062e-05/0.2192, allocations: 34.75 kB / 0.7863 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.955e-05/0.2192, allocations: 8.844 kB / 0.7863 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/0.2194, allocations: 168.2 kB / 0.7865 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.2194, allocations: 384 / 0.7865 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.226e-05/0.2194, allocations: 8.359 kB / 0.7865 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.2195, allocations: 50.86 kB / 0.7865 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.2196, allocations: 0 / 0.7865 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.2196, allocations: 0 / 0.7865 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.2196, allocations: 0 / 0.7865 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.376e-05/0.2197, allocations: 23.98 kB / 0.7865 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003543/0.22, allocations: 256.8 kB / 0.7868 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.095e-05/0.2201, allocations: 26.58 kB / 0.7868 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.789e-05/0.2202, allocations: 20.84 kB / 0.7868 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008178/0.221, allocations: 477.4 kB / 0.7873 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.2211, allocations: 34.56 kB / 0.7873 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.2211, allocations: 0 / 0.7873 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0002324/0.2213, allocations: 61.62 kB / 0.7874 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.181e-05/0.2213, allocations: 55.53 kB / 0.7874 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.863e-05/0.2214, allocations: 113.8 kB / 0.7875 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.2215, allocations: 25.7 kB / 0.7876 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.77e-05/0.2215, allocations: 92.06 kB / 0.7877 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.933e-05/0.2215, allocations: 7.906 kB / 0.7877 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.964e-05/0.2216, allocations: 13.72 kB / 0.7877 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.426e-05/0.2216, allocations: 314.8 kB / 0.788 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.515e-05/0.2217, allocations: 19.98 kB / 0.788 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.247e-05/0.2217, allocations: 7.984 kB / 0.788 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.44e-05/0.2218, allocations: 24.86 kB / 0.788 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.2218, allocations: 0 / 0.788 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001112/0.2219, allocations: 61.52 kB / 0.7881 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.222, allocations: 8 kB / 0.7881 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.222, allocations: 0 / 0.7881 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.222, allocations: 4.094 kB / 0.7881 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.793e-05/0.2221, allocations: 4 kB / 0.7881 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.2221, allocations: 0 / 0.7881 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.34e-05/0.2221, allocations: 7.984 kB / 0.7881 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.2221, allocations: 4 kB / 0.7881 GB, free: 8.312 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 7.139e-05/0.2222, allocations: 109.8 kB / 0.7882 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.512e-05/0.2222, allocations: 4 kB / 0.7882 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001648/0.2224, allocations: 69.14 kB / 0.7883 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.2224, allocations: 0 / 0.7883 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.2224, allocations: 0 / 0.7883 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.2224, allocations: 0 / 0.7883 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001428/0.2226, allocations: 169.6 kB / 0.7884 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.2226, allocations: 0 / 0.7884 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.142e-05/0.2226, allocations: 4 kB / 0.7885 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.2226, allocations: 0 / 0.7885 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.2227, allocations: 4 kB / 0.7885 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.2227, allocations: 0 / 0.7885 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.2227, allocations: 7.938 kB / 0.7885 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001493/0.2228, allocations: 155.4 kB / 0.7886 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.944e-05/0.2229, allocations: 81.05 kB / 0.7887 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.189e-05/0.2229, allocations: 0 / 0.7887 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.354e-05/0.2229, allocations: 7.984 kB / 0.7887 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.632e-05/0.223, allocations: 4 kB / 0.7887 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-06/0.223, allocations: 0 / 0.7887 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.869e-05/0.223, allocations: 87.31 kB / 0.7888 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.223, allocations: 0 / 0.7888 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002341/0.2233, allocations: 23.98 kB / 0.7888 GB, free: 7.496 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.0004346/0.2237, allocations: 0.689 MB / 0.7895 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001263/0.2239, allocations: 27.95 kB / 0.7895 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2239, allocations: 7.938 kB / 0.7895 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.21e-05/0.2239, allocations: 7.984 kB / 0.7895 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002033/0.2241, allocations: 11.94 kB / 0.7895 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004066/0.2245, allocations: 160.2 kB / 0.7897 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002088/0.2248, allocations: 0.6768 MB / 0.7903 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.984e-05/0.2248, allocations: 12.11 kB / 0.7904 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.098e-05/0.2248, allocations: 11.44 kB / 0.7904 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2248, allocations: 0 / 0.7904 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01508/0.2399, allocations: 1.596 MB / 0.7919 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.475/7.715, allocations: 3.125 kB / 0.7919 GB, free: 4.273 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Utilities_Math_Examples_SmoothLimit.fmu > Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)