Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks") translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.481/2.481, allocations: 251.1 MB / 266.7 MB, free: 11.59 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.001364/0.001364, allocations: 183.2 kB / 326.3 MB, free: 2.867 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.508/2.508, allocations: 205.4 MB / 0.5772 GB, free: 21.15 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.0009302/0.0009301, allocations: 104 kB / 0.6817 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006283/0.0006286, allocations: 15.73 kB / 0.7957 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2081/0.2088, allocations: 106.3 MB / 0.8995 GB, free: 66.05 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.00215/0.211, allocations: 1.466 MB / 0.9009 GB, free: 64.57 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001235/0.2123, allocations: 0.6528 MB / 0.9016 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.404e-05/0.2123, allocations: 0 / 0.9016 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.629e-05/0.2124, allocations: 11.86 kB / 0.9016 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.114e-05/0.2125, allocations: 15.86 kB / 0.9016 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006771/0.2132, allocations: 156.7 kB / 0.9017 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001453/0.2133, allocations: 103.7 kB / 0.9018 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001431/0.2135, allocations: 41.23 kB / 0.9019 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001211/0.2136, allocations: 51.83 kB / 0.9019 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.538e-05/0.2137, allocations: 35.83 kB / 0.902 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.8e-05/0.2137, allocations: 4 kB / 0.902 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001241/0.2139, allocations: 35.97 kB / 0.902 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.129e-05/0.2139, allocations: 27.83 kB / 0.902 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.238e-05/0.214, allocations: 45.64 kB / 0.9021 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001586/0.2141, allocations: 91.83 kB / 0.9022 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.2142, allocations: 0 / 0.9022 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.873e-06/0.2142, allocations: 0 / 0.9022 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.309e-06/0.2142, allocations: 4 kB / 0.9022 GB, free: 63.29 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.0006695/0.2149, allocations: 415 kB / 0.9026 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.2149, allocations: 12.03 kB / 0.9026 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001353/0.2163, allocations: 144.6 kB / 0.9027 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.2164, allocations: 186.2 kB / 0.9029 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001059/0.2165, allocations: 59.97 kB / 0.9029 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.322e-05/0.2166, allocations: 12.38 kB / 0.9029 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000824/0.2174, allocations: 193.5 kB / 0.9031 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.2174, allocations: 0 / 0.9031 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.281e-05/0.2175, allocations: 4 kB / 0.9031 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.2175, allocations: 4 kB / 0.9031 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0011/0.2186, allocations: 199.8 kB / 0.9033 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001604/0.2202, allocations: 0.4978 MB / 0.9038 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001776/0.222, allocations: 266.3 kB / 0.9041 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005527/0.2226, allocations: 100.9 kB / 0.9042 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.361e-05/0.2226, allocations: 7.984 kB / 0.9042 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.2227, allocations: 38.56 kB / 0.9042 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=6): time 3.086e-06/0.2227, allocations: 0 / 0.9042 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.001744/0.2244, allocations: 317.4 kB / 0.9045 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.182e-05/0.2245, allocations: 51.41 kB / 0.9046 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.2246, allocations: 137.8 kB / 0.9047 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.272e-05/0.2247, allocations: 25.7 kB / 0.9047 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.514e-05/0.2247, allocations: 116.1 kB / 0.9048 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.13e-05/0.2248, allocations: 15.8 kB / 0.9048 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.35e-05/0.2248, allocations: 0 / 0.9048 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.073e-05/0.2249, allocations: 322.8 kB / 0.9052 GB, free: 60 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005299/0.2254, allocations: 87.92 kB / 0.9052 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005419/0.226, allocations: 114.5 kB / 0.9053 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005577/0.2265, allocations: 87.94 kB / 0.9054 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/0.2265, allocations: 0 / 0.9054 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.001167/0.2277, allocations: 245.3 kB / 0.9057 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.2278, allocations: 8 kB / 0.9057 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.966e-06/0.2278, allocations: 3.984 kB / 0.9057 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.2278, allocations: 3.938 kB / 0.9057 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004522/0.2283, allocations: 51.89 kB / 0.9057 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.2283, allocations: 0 / 0.9057 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003438/0.2286, allocations: 31.91 kB / 0.9058 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.221e-05/0.2287, allocations: 7.938 kB / 0.9058 GB, free: 59.36 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001201/0.2288, allocations: 122.9 kB / 0.9059 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.419e-05/0.2289, allocations: 11.91 kB / 0.9059 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001223/0.2301, allocations: 242.1 kB / 0.9061 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.2301, allocations: 0 / 0.9061 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.2301, allocations: 4 kB / 0.9061 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.486e-05/0.2302, allocations: 85.02 kB / 0.9062 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.297e-05/0.2302, allocations: 0 / 0.9062 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005529/0.2308, allocations: 43.89 kB / 0.9063 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.062e-05/0.2308, allocations: 11.98 kB / 0.9063 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001434/0.2323, allocations: 325.2 kB / 0.9066 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001168/0.2335, allocations: 402.5 kB / 0.907 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005395/0.234, allocations: 95.92 kB / 0.907 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.113e-05/0.2341, allocations: 108.8 kB / 0.9072 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of Backend: time 6.01e-07/0.2341, allocations: 4 kB / 0.9072 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001049/0.2352, allocations: 189.3 kB / 0.9073 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0006144/0.2358, allocations: 0.6784 MB / 0.908 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of Templates: time 0.005937/0.2418, allocations: 2.041 MB / 0.91 GB, free: 54.93 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)