Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.844/2.844, allocations: 287.5 MB / 302.4 MB, free: 8.387 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.001345/0.001345, allocations: 185.3 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.195/2.195, allocations: 205.4 MB / 0.6297 GB, free: 10.57 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.000895/0.0008952, allocations: 89.28 kB / 0.743 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006481/0.0006486, allocations: 13.62 kB / 0.8659 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2231/0.2238, allocations: 115.3 MB / 0.9784 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.002164/0.2261, allocations: 1.459 MB / 0.9799 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001344/0.2275, allocations: 0.6528 MB / 0.9805 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.02e-05/0.2276, allocations: 4 kB / 0.9805 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.617e-05/0.2276, allocations: 3.938 kB / 0.9805 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.2e-05/0.2277, allocations: 11.86 kB / 0.9805 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007469/0.2285, allocations: 155.6 kB / 0.9807 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001605/0.2286, allocations: 103.6 kB / 0.9808 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001573/0.2288, allocations: 37.28 kB / 0.9808 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001343/0.229, allocations: 51.83 kB / 0.9809 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.803e-05/0.2291, allocations: 35.83 kB / 0.9809 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.362e-05/0.2291, allocations: 4 kB / 0.9809 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001459/0.2293, allocations: 35.97 kB / 0.9809 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.503e-05/0.2293, allocations: 19.92 kB / 0.9809 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.634e-05/0.2294, allocations: 41.62 kB / 0.981 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001744/0.2296, allocations: 100 kB / 0.9811 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.2296, allocations: 0 / 0.9811 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.124e-06/0.2296, allocations: 0 / 0.9811 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.2296, allocations: 4 kB / 0.9811 GB, free: 25.53 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.000647/0.2303, allocations: 418.9 kB / 0.9815 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/0.2303, allocations: 12.02 kB / 0.9815 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.289e-05/0.2304, allocations: 42.5 kB / 0.9815 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00133/0.2317, allocations: 151.6 kB / 0.9817 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.2319, allocations: 177.5 kB / 0.9818 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001175/0.232, allocations: 63.41 kB / 0.9819 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.865e-05/0.2321, allocations: 8 kB / 0.9819 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008329/0.2329, allocations: 193.4 kB / 0.9821 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.579e-05/0.233, allocations: 3.938 kB / 0.9821 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.923e-05/0.233, allocations: 4 kB / 0.9821 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.2331, allocations: 11.89 kB / 0.9821 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001048/0.2341, allocations: 191.8 kB / 0.9823 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001637/0.2358, allocations: 0.4941 MB / 0.9828 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001784/0.2376, allocations: 270.3 kB / 0.983 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005636/0.2382, allocations: 96.91 kB / 0.9831 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.924e-05/0.2382, allocations: 4 kB / 0.9831 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.2383, allocations: 38.56 kB / 0.9832 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 3.516e-06/0.2383, allocations: 3.984 kB / 0.9832 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.00172/0.24, allocations: 313.5 kB / 0.9835 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.962e-05/0.2401, allocations: 51.41 kB / 0.9835 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.2402, allocations: 137.8 kB / 0.9837 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.315e-05/0.2403, allocations: 25.7 kB / 0.9837 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.013e-05/0.2403, allocations: 120.1 kB / 0.9838 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.123e-05/0.2404, allocations: 23.72 kB / 0.9838 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.415e-05/0.2404, allocations: 4 kB / 0.9838 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.673e-05/0.2405, allocations: 318.8 kB / 0.9841 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005513/0.241, allocations: 87.92 kB / 0.9842 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005623/0.2416, allocations: 114.5 kB / 0.9843 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005348/0.2422, allocations: 95.86 kB / 0.9844 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/0.2422, allocations: 3.938 kB / 0.9844 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.001174/0.2434, allocations: 241.4 kB / 0.9846 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.2434, allocations: 8 kB / 0.9847 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.2434, allocations: 0 / 0.9847 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.135e-05/0.2435, allocations: 0 / 0.9847 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004473/0.2439, allocations: 43.95 kB / 0.9847 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.244, allocations: 3.953 kB / 0.9847 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003374/0.2443, allocations: 39.86 kB / 0.9847 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.304e-05/0.2443, allocations: 4 kB / 0.9847 GB, free: 21.53 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 0.0001352/0.2445, allocations: 123.2 kB / 0.9849 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.58e-05/0.2445, allocations: 7.906 kB / 0.9849 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00123/0.2458, allocations: 246.1 kB / 0.9851 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/0.2458, allocations: 0 / 0.9851 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.2458, allocations: 4 kB / 0.9851 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.2458, allocations: 3.953 kB / 0.9851 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003044/0.2462, allocations: 238.2 kB / 0.9853 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.2462, allocations: 0 / 0.9853 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004016/0.2466, allocations: 43.95 kB / 0.9854 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.491e-06/0.2466, allocations: 0 / 0.9854 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.876e-05/0.2466, allocations: 4.359 kB / 0.9854 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.2466, allocations: 0 / 0.9854 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.2467, allocations: 4 kB / 0.9854 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001159/0.2478, allocations: 327.2 kB / 0.9857 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.791e-05/0.2479, allocations: 88.95 kB / 0.9858 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.246e-05/0.2479, allocations: 0 / 0.9858 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005349/0.2485, allocations: 47.95 kB / 0.9858 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.305e-05/0.2485, allocations: 0 / 0.9858 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.048e-05/0.2486, allocations: 7.984 kB / 0.9858 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.658e-05/0.2487, allocations: 112.6 kB / 0.9859 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2487, allocations: 4 kB / 0.9859 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003933/0.2491, allocations: 23.91 kB / 0.986 GB, free: 20.18 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.001415/0.2505, allocations: 0.8489 MB / 0.9868 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001126/0.2517, allocations: 195.8 kB / 0.987 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.2517, allocations: 4.125 kB / 0.987 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005339/0.2522, allocations: 99.8 kB / 0.9871 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004162/0.2527, allocations: 18.17 kB / 0.9871 GB, free: 18.99 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003017/0.2557, allocations: 0.9199 MB / 0.988 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001738/0.2559, allocations: 0.7014 MB / 0.9887 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001752/0.2561, allocations: 15.94 kB / 0.9887 GB, free: 17.28 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001161/0.2562, allocations: 35.41 kB / 0.9887 GB, free: 17.24 MB / 0.6198 GB Notification: Performance of SimCode: time 1.062e-06/0.2563, allocations: 0 / 0.9887 GB, free: 17.24 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02682/0.2831, allocations: 2.401 MB / 0.9911 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003137/0.2835, allocations: 195.7 kB / 0.9913 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.497/2.78, allocations: 0 / 0.9913 GB, free: 14.72 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Examples_SmoothBlocks_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Examples_SmoothBlocks.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)