Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.75/1.75, allocations: 288.4 MB / 303.3 MB, free: 8.215 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001133/0.001133, allocations: 173.4 kB / 372 MB, free: 10.26 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.583/1.583, allocations: 205.4 MB / 0.6307 GB, free: 9.969 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007611/0.0007612, allocations: 94.23 kB / 0.7441 GB, free: 5.879 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004339/0.000434, allocations: 11.88 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2219/0.2224, allocations: 115.3 MB / 0.9796 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.001831/0.2243, allocations: 1.447 MB / 0.9811 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001037/0.2254, allocations: 0.6604 MB / 0.9817 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.803e-05/0.2255, allocations: 0 / 0.9817 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.886e-05/0.2255, allocations: 3.938 kB / 0.9817 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.073e-05/0.2256, allocations: 19.84 kB / 0.9817 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005624/0.2262, allocations: 143.1 kB / 0.9819 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001461/0.2263, allocations: 103.6 kB / 0.982 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001378/0.2265, allocations: 45.27 kB / 0.982 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001344/0.2266, allocations: 43.84 kB / 0.982 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.537e-05/0.2267, allocations: 39.77 kB / 0.9821 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.192e-05/0.2267, allocations: 4 kB / 0.9821 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00011/0.2269, allocations: 35.97 kB / 0.9821 GB, free: 25 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.874e-05/0.2269, allocations: 23.91 kB / 0.9821 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.21e-05/0.227, allocations: 37.7 kB / 0.9822 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001417/0.2271, allocations: 92.05 kB / 0.9823 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.2271, allocations: 3.938 kB / 0.9823 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.204e-06/0.2271, allocations: 0 / 0.9823 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.2271, allocations: 7.938 kB / 0.9823 GB, free: 24.83 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005466/0.2277, allocations: 415 kB / 0.9827 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.2277, allocations: 16.02 kB / 0.9827 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.012e-05/0.2278, allocations: 38.56 kB / 0.9827 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008449/0.2287, allocations: 143.6 kB / 0.9829 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.2288, allocations: 187.9 kB / 0.983 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.581e-05/0.2289, allocations: 67.39 kB / 0.9831 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.885e-05/0.2289, allocations: 8 kB / 0.9831 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005268/0.2294, allocations: 193.4 kB / 0.9833 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.2295, allocations: 4 kB / 0.9833 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.326e-05/0.2295, allocations: 4 kB / 0.9833 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.2295, allocations: 4 kB / 0.9833 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006148/0.2301, allocations: 191.8 kB / 0.9835 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001071/0.2312, allocations: 0.4939 MB / 0.984 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001002/0.2322, allocations: 270.3 kB / 0.9842 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002922/0.2325, allocations: 104.8 kB / 0.9843 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.782e-05/0.2326, allocations: 0 / 0.9843 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.2326, allocations: 38.5 kB / 0.9844 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.2326, allocations: 0 / 0.9844 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.001015/0.2336, allocations: 313.5 kB / 0.9847 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.013e-05/0.2337, allocations: 51.41 kB / 0.9847 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.2338, allocations: 144 kB / 0.9849 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.632e-05/0.2338, allocations: 25.7 kB / 0.9849 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.431e-05/0.2339, allocations: 120.1 kB / 0.985 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.291e-05/0.2339, allocations: 19.73 kB / 0.985 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.927e-06/0.2339, allocations: 0 / 0.985 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.353e-05/0.234, allocations: 318.8 kB / 0.9853 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002885/0.2343, allocations: 99.84 kB / 0.9854 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002908/0.2346, allocations: 114.4 kB / 0.9855 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003099/0.2349, allocations: 91.92 kB / 0.9856 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.2349, allocations: 0 / 0.9856 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000632/0.2356, allocations: 233.7 kB / 0.9858 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.2356, allocations: 9.562 kB / 0.9858 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.2356, allocations: 4.062 kB / 0.9858 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.2356, allocations: 4 kB / 0.9858 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002585/0.2359, allocations: 43.95 kB / 0.9859 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.976e-06/0.2359, allocations: 4 kB / 0.9859 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001908/0.2361, allocations: 39.83 kB / 0.9859 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.534e-05/0.2361, allocations: 3.984 kB / 0.9859 GB, free: 20.84 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.211e-05/0.2362, allocations: 121.8 kB / 0.9861 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.2e-05/0.2363, allocations: 7.906 kB / 0.9861 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006966/0.237, allocations: 242.2 kB / 0.9863 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.237, allocations: 0 / 0.9863 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.237, allocations: 0 / 0.9863 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.237, allocations: 0 / 0.9863 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000214/0.2372, allocations: 238.4 kB / 0.9865 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.2372, allocations: 4 kB / 0.9865 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002204/0.2375, allocations: 39.95 kB / 0.9866 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.2375, allocations: 0 / 0.9866 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.2375, allocations: 4 kB / 0.9866 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.2375, allocations: 0 / 0.9866 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.2375, allocations: 3.984 kB / 0.9866 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006415/0.2382, allocations: 327.2 kB / 0.9869 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.171e-05/0.2382, allocations: 89 kB / 0.987 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.204e-05/0.2382, allocations: 0 / 0.987 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002935/0.2385, allocations: 43.95 kB / 0.987 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.399e-05/0.2386, allocations: 4 kB / 0.987 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.928e-05/0.2386, allocations: 15.92 kB / 0.987 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.123e-05/0.2387, allocations: 108.2 kB / 0.9871 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2387, allocations: 4 kB / 0.9871 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000263/0.239, allocations: 27.91 kB / 0.9872 GB, free: 19.49 MB / 0.6198 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 (6): * Single equations (assignments): 6 * 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.0008631/0.2398, allocations: 0.8568 MB / 0.988 GB, free: 18.6 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006196/0.2405, allocations: 191.8 kB / 0.9882 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2405, allocations: 3.938 kB / 0.9882 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002918/0.2408, allocations: 96.05 kB / 0.9883 GB, free: 18.32 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003349/0.2411, allocations: 18.36 kB / 0.9883 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001915/0.243, allocations: 0.9238 MB / 0.9892 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001389/0.2432, allocations: 0.6994 MB / 0.9899 GB, free: 16.6 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001057/0.2433, allocations: 16.19 kB / 0.9899 GB, free: 16.59 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.011e-05/0.2434, allocations: 35.41 kB / 0.9899 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of SimCode: time 2.4e-07/0.2434, allocations: 0 / 0.9899 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01436/0.2578, allocations: 2.413 MB / 0.9923 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001867/0.258, allocations: 191.1 kB / 0.9925 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.74/1.998, allocations: 0 / 0.9925 GB, free: 14.03 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_SmoothBlocks_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_SmoothBlocks.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)