Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks") translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.461/1.461, allocations: 251.5 MB / 267.4 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001074/0.001074, allocations: 188.3 kB / 326.5 MB, free: 2.703 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.835/1.835, allocations: 205 MB / 0.5766 GB, free: 21.07 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009341/0.0009342, allocations: 88.55 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003442/0.0003443, allocations: 13.98 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2148/0.2152, allocations: 105.4 MB / 0.8967 GB, free: 68.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.001942/0.2172, allocations: 1.506 MB / 0.8982 GB, free: 66.69 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001109/0.2183, allocations: 0.6997 MB / 0.8989 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.265e-05/0.2185, allocations: 4 kB / 0.8989 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.972e-05/0.2185, allocations: 7.922 kB / 0.8989 GB, free: 65.97 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.948e-05/0.2186, allocations: 15.86 kB / 0.8989 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005568/0.2192, allocations: 150.2 kB / 0.8991 GB, free: 65.81 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001437/0.2193, allocations: 119.6 kB / 0.8992 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000144/0.2195, allocations: 49.03 kB / 0.8992 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001357/0.2196, allocations: 43.84 kB / 0.8993 GB, free: 65.6 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.747e-05/0.2197, allocations: 35.78 kB / 0.8993 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.538e-05/0.2197, allocations: 4 kB / 0.8993 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001145/0.2199, allocations: 47.95 kB / 0.8994 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.925e-05/0.2199, allocations: 23.84 kB / 0.8994 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.556e-05/0.2199, allocations: 39.73 kB / 0.8994 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001431/0.2201, allocations: 95.81 kB / 0.8995 GB, free: 65.36 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2201, allocations: 0 / 0.8995 GB, free: 65.36 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.134e-06/0.2201, allocations: 0 / 0.8995 GB, free: 65.36 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.2201, allocations: 3.938 kB / 0.8995 GB, free: 65.36 MB / 0.6042 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.0005159/0.2206, allocations: 427 kB / 0.8999 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.2207, allocations: 8.031 kB / 0.8999 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008186/0.2215, allocations: 140.7 kB / 0.9001 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.2217, allocations: 177.6 kB / 0.9002 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.556e-05/0.2218, allocations: 71.86 kB / 0.9003 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.155e-05/0.2218, allocations: 8.375 kB / 0.9003 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004742/0.2223, allocations: 197.5 kB / 0.9005 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.2223, allocations: 0 / 0.9005 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.212e-05/0.2223, allocations: 8 kB / 0.9005 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.2223, allocations: 0 / 0.9005 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005515/0.2229, allocations: 195.8 kB / 0.9007 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009711/0.2239, allocations: 0.5016 MB / 0.9012 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009261/0.2248, allocations: 270.3 kB / 0.9014 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000267/0.2251, allocations: 100.9 kB / 0.9015 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.67e-05/0.2251, allocations: 0 / 0.9015 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.639e-05/0.2251, allocations: 38.48 kB / 0.9016 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=6): time 9.12e-07/0.2251, allocations: 8 kB / 0.9016 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.0009135/0.2261, allocations: 309.7 kB / 0.9019 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.002e-05/0.2261, allocations: 55.41 kB / 0.9019 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.321e-05/0.2262, allocations: 138.8 kB / 0.9021 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.2262, allocations: 25.7 kB / 0.9021 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.243e-05/0.2263, allocations: 116.1 kB / 0.9022 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.2263, allocations: 11.8 kB / 0.9022 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.817e-05/0.2263, allocations: 21.72 kB / 0.9022 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.879e-05/0.2264, allocations: 322.8 kB / 0.9025 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002752/0.2267, allocations: 87.92 kB / 0.9026 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002713/0.2269, allocations: 122.4 kB / 0.9027 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000511/0.2275, allocations: 194.5 kB / 0.9029 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2275, allocations: 4 kB / 0.9029 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005793/0.2281, allocations: 237.4 kB / 0.9031 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.2281, allocations: 4 kB / 0.9031 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.2281, allocations: 4 kB / 0.9032 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.2281, allocations: 7.969 kB / 0.9032 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002414/0.2284, allocations: 47.89 kB / 0.9032 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.2284, allocations: 3.984 kB / 0.9032 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001785/0.2286, allocations: 39.81 kB / 0.9032 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.436e-05/0.2286, allocations: 4 kB / 0.9033 GB, free: 61.27 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.114e-05/0.2287, allocations: 117.8 kB / 0.9034 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.012e-05/0.2287, allocations: 7.906 kB / 0.9034 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006309/0.2294, allocations: 250.1 kB / 0.9036 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.2294, allocations: 0 / 0.9036 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.2294, allocations: 0 / 0.9036 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.2294, allocations: 0 / 0.9036 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000179/0.2296, allocations: 222.5 kB / 0.9038 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.2296, allocations: 4 kB / 0.9038 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002063/0.2298, allocations: 39.95 kB / 0.9039 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.2298, allocations: 7.984 kB / 0.9039 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.2298, allocations: 7.938 kB / 0.9039 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.2298, allocations: 3.938 kB / 0.9039 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2298, allocations: 160 / 0.9039 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005987/0.2304, allocations: 319.4 kB / 0.9042 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.392e-05/0.2305, allocations: 81.08 kB / 0.9043 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.255e-05/0.2305, allocations: 11.94 kB / 0.9043 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002761/0.2308, allocations: 47.95 kB / 0.9043 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.935e-05/0.2308, allocations: 7.922 kB / 0.9043 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.62e-05/0.2309, allocations: 7.984 kB / 0.9043 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.478e-05/0.2309, allocations: 105.2 kB / 0.9044 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.2309, allocations: 0 / 0.9044 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002357/0.2312, allocations: 27.84 kB / 0.9045 GB, free: 59.93 MB / 0.6042 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 (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.0001146/0.2313, allocations: 103.2 kB / 0.9046 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005887/0.2319, allocations: 199.7 kB / 0.9048 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.2319, allocations: 0 / 0.9048 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002758/0.2322, allocations: 104 kB / 0.9049 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003042/0.2325, allocations: 8 kB / 0.9049 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006307/0.2331, allocations: 330.9 kB / 0.9052 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001338/0.2333, allocations: 0.7021 MB / 0.9059 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.74e-05/0.2333, allocations: 11.44 kB / 0.9059 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of SimCode: time 4.41e-07/0.2333, allocations: 0 / 0.9059 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of Templates: time 0.002776/0.2361, allocations: 1.595 MB / 0.9074 GB, free: 56.83 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)