Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.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: translateModel(BuildingSystems.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009499/0.0009499, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.006641/0.006641, allocations: 172.6 kB / 16.26 MB, free: 6.613 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.328/1.328, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001664/0.001664, allocations: 266 kB / 291.7 MB, free: 1.891 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9389/0.9389, allocations: 169.5 MB / 0.5004 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004515/0.0004515, allocations: 16.03 kB / 0.5986 GB, free: 28.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2069/0.2073, allocations: 88.55 MB / 0.6851 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothBlocks): time 0.001989/0.2094, allocations: 1.477 MB / 0.6866 GB, free: 13.62 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001075/0.2105, allocations: 0.6436 MB / 0.6872 GB, free: 12.98 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.728e-05/0.2105, allocations: 0 / 0.6872 GB, free: 12.98 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.423e-05/0.2106, allocations: 11.86 kB / 0.6872 GB, free: 12.96 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.158e-05/0.2106, allocations: 15.86 kB / 0.6872 GB, free: 12.95 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005058/0.2111, allocations: 149.6 kB / 0.6874 GB, free: 12.81 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001396/0.2113, allocations: 114 kB / 0.6875 GB, free: 12.7 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001537/0.2115, allocations: 51.78 kB / 0.6875 GB, free: 12.65 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.2116, allocations: 47.84 kB / 0.6876 GB, free: 12.61 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.974e-05/0.2117, allocations: 35.78 kB / 0.6876 GB, free: 12.57 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.202e-05/0.2117, allocations: 5.312 kB / 0.6876 GB, free: 12.57 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.2118, allocations: 39.95 kB / 0.6876 GB, free: 12.53 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.367e-05/0.2118, allocations: 23.91 kB / 0.6877 GB, free: 12.5 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.982e-05/0.2119, allocations: 73.38 kB / 0.6877 GB, free: 12.43 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001875/0.2121, allocations: 144.2 kB / 0.6879 GB, free: 12.29 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2121, allocations: 3.938 kB / 0.6879 GB, free: 12.28 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2121, allocations: 0.5625 kB / 0.6879 GB, free: 12.28 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.2121, allocations: 1.719 kB / 0.6879 GB, free: 12.28 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005543/0.2127, allocations: 418.1 kB / 0.6883 GB, free: 11.83 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.2127, allocations: 8.031 kB / 0.6883 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008608/0.2136, allocations: 146 kB / 0.6884 GB, free: 11.68 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.2138, allocations: 182.1 kB / 0.6886 GB, free: 11.47 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001075/0.2139, allocations: 72.52 kB / 0.6887 GB, free: 11.39 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.683e-05/0.2139, allocations: 8.375 kB / 0.6887 GB, free: 11.38 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005476/0.2145, allocations: 201.6 kB / 0.6889 GB, free: 11.18 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.2145, allocations: 0 / 0.6889 GB, free: 11.18 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.403e-05/0.2145, allocations: 4 kB / 0.6889 GB, free: 11.17 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.2145, allocations: 0 / 0.6889 GB, free: 11.17 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006396/0.2152, allocations: 191.8 kB / 0.6891 GB, free: 10.98 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00111/0.2163, allocations: 0.4978 MB / 0.6895 GB, free: 10.44 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/0.2173, allocations: 270.3 kB / 0.6898 GB, free: 10.16 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003187/0.2177, allocations: 96.91 kB / 0.6899 GB, free: 10.07 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.478e-05/0.2177, allocations: 4 kB / 0.6899 GB, free: 10.06 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.2177, allocations: 46.42 kB / 0.6899 GB, free: 10.01 MB / 494.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.2178, allocations: 0 / 0.6899 GB, free: 10.01 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.001079/0.2188, allocations: 313.5 kB / 0.6902 GB, free: 9.695 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.327e-05/0.2189, allocations: 51.41 kB / 0.6903 GB, free: 9.633 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.219, allocations: 141.8 kB / 0.6904 GB, free: 9.484 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.614e-05/0.219, allocations: 25.7 kB / 0.6904 GB, free: 9.453 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.93e-05/0.2191, allocations: 112.2 kB / 0.6906 GB, free: 9.336 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.674e-05/0.2191, allocations: 19.66 kB / 0.6906 GB, free: 9.316 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.083e-05/0.2192, allocations: 13.72 kB / 0.6906 GB, free: 9.297 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.2193, allocations: 318.8 kB / 0.6909 GB, free: 8.977 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003284/0.2196, allocations: 95.92 kB / 0.691 GB, free: 8.883 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000321/0.22, allocations: 114.5 kB / 0.6911 GB, free: 8.762 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006145/0.2206, allocations: 198.4 kB / 0.6913 GB, free: 8.559 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.2206, allocations: 0 / 0.6913 GB, free: 8.559 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006915/0.2213, allocations: 237.4 kB / 0.6915 GB, free: 8.32 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.2213, allocations: 4 kB / 0.6915 GB, free: 8.316 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.2213, allocations: 4 kB / 0.6915 GB, free: 8.312 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.2213, allocations: 3.938 kB / 0.6915 GB, free: 8.309 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002668/0.2216, allocations: 43.89 kB / 0.6916 GB, free: 8.266 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.2216, allocations: 7.984 kB / 0.6916 GB, free: 8.258 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001948/0.2218, allocations: 35.97 kB / 0.6916 GB, free: 8.223 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.476e-05/0.2219, allocations: 4.156 kB / 0.6916 GB, free: 8.219 MB / 494.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001007/0.222, allocations: 119.1 kB / 0.6917 GB, free: 8.094 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.699e-05/0.222, allocations: 7.906 kB / 0.6917 GB, free: 8.086 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007573/0.2228, allocations: 246.1 kB / 0.692 GB, free: 7.836 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.2228, allocations: 7.922 kB / 0.692 GB, free: 7.828 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.2228, allocations: 384 / 0.692 GB, free: 7.828 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.2228, allocations: 4 kB / 0.692 GB, free: 7.824 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002516/0.2231, allocations: 246.3 kB / 0.6922 GB, free: 7.535 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.2231, allocations: 0 / 0.6922 GB, free: 7.535 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002329/0.2233, allocations: 39.95 kB / 0.6922 GB, free: 7.496 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.2233, allocations: 3.984 kB / 0.6922 GB, free: 7.492 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.2233, allocations: 7.938 kB / 0.6923 GB, free: 7.484 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.2234, allocations: 0 / 0.6923 GB, free: 7.484 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.2234, allocations: 11.92 kB / 0.6923 GB, free: 7.473 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007085/0.2241, allocations: 315.3 kB / 0.6926 GB, free: 7.148 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.872e-05/0.2241, allocations: 81.02 kB / 0.6926 GB, free: 7.051 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.2242, allocations: 15.94 kB / 0.6927 GB, free: 7.035 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003078/0.2245, allocations: 39.95 kB / 0.6927 GB, free: 6.996 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.179e-05/0.2245, allocations: 11.91 kB / 0.6927 GB, free: 6.984 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-05/0.2245, allocations: 7.984 kB / 0.6927 GB, free: 6.977 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.224e-05/0.2246, allocations: 113.2 kB / 0.6928 GB, free: 6.867 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2246, allocations: 0 / 0.6928 GB, free: 6.867 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002516/0.2249, allocations: 27.94 kB / 0.6929 GB, free: 6.84 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 (6): * Single equations (assignments): 6 * 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.0001367/0.225, allocations: 95.25 kB / 0.6929 GB, free: 6.738 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006913/0.2257, allocations: 203.8 kB / 0.6931 GB, free: 6.539 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.2257, allocations: 0 / 0.6931 GB, free: 6.539 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003288/0.2261, allocations: 104 kB / 0.6932 GB, free: 6.438 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003154/0.2264, allocations: 4 kB / 0.6932 GB, free: 6.434 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006709/0.2271, allocations: 309.4 kB / 0.6935 GB, free: 6.105 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002368/0.2273, allocations: 0.7018 MB / 0.6942 GB, free: 5.379 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.56e-05/0.2274, allocations: 12 kB / 0.6942 GB, free: 5.367 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.423e-05/0.2275, allocations: 15.44 kB / 0.6942 GB, free: 5.352 MB / 494.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2275, allocations: 0 / 0.6942 GB, free: 5.352 MB / 494.1 MB Notification: Performance of Templates: time 0.003673/0.2311, allocations: 1.369 MB / 0.6956 GB, free: 4 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)