Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks") translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.00106/0.00106, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001122/0.001123, allocations: 198.9 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.318/1.318, allocations: 205.1 MB / 222.4 MB, free: 4.609 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.661/1.661, allocations: 292.3 MB / 0.5489 GB, free: 12.84 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 74.73 kB / 0.6715 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2054/0.2068, allocations: 114.5 MB / 0.7834 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.002874/0.2098, allocations: 1.766 MB / 0.7851 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001112/0.2109, allocations: 0.6962 MB / 0.7858 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.44e-05/0.211, allocations: 7.938 kB / 0.7858 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.884e-05/0.211, allocations: 11.86 kB / 0.7858 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.437e-05/0.2111, allocations: 15.8 kB / 0.7858 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005531/0.2116, allocations: 170.6 kB / 0.786 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001335/0.2118, allocations: 127.7 kB / 0.7861 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.2119, allocations: 45.09 kB / 0.7861 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001132/0.2121, allocations: 63.83 kB / 0.7862 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.918e-05/0.2121, allocations: 43.78 kB / 0.7862 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.621e-05/0.2122, allocations: 15.88 kB / 0.7862 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/0.2123, allocations: 47.95 kB / 0.7863 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.282e-05/0.2123, allocations: 31.91 kB / 0.7863 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.198e-05/0.2124, allocations: 63.64 kB / 0.7864 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001762/0.2126, allocations: 147.8 kB / 0.7865 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2126, allocations: 0 / 0.7865 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.382e-06/0.2126, allocations: 0 / 0.7865 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.728e-06/0.2126, allocations: 0 / 0.7865 GB, free: 10.21 MB / 0.6075 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.0005239/0.2131, allocations: 427 kB / 0.7869 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.2132, allocations: 12.03 kB / 0.7869 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008414/0.214, allocations: 116.7 kB / 0.7871 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.2141, allocations: 180.1 kB / 0.7872 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.244e-05/0.2142, allocations: 63.95 kB / 0.7873 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/0.2143, allocations: 8.375 kB / 0.7873 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005037/0.2148, allocations: 178.5 kB / 0.7875 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.2148, allocations: 0 / 0.7875 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.254e-05/0.2148, allocations: 4 kB / 0.7875 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.2148, allocations: 0 / 0.7875 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006143/0.2155, allocations: 163.8 kB / 0.7876 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001064/0.2165, allocations: 489.7 kB / 0.7881 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001039/0.2176, allocations: 214.3 kB / 0.7883 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003083/0.2179, allocations: 80.91 kB / 0.7884 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.927e-05/0.2179, allocations: 0 / 0.7884 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.218, allocations: 38.5 kB / 0.7884 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.218, allocations: 4 kB / 0.7884 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.001042/0.219, allocations: 261.5 kB / 0.7887 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.325e-05/0.2191, allocations: 55.41 kB / 0.7887 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.2192, allocations: 140.5 kB / 0.7888 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/0.2192, allocations: 25.7 kB / 0.7889 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.881e-05/0.2193, allocations: 120.1 kB / 0.789 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.2193, allocations: 19.66 kB / 0.789 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.766e-05/0.2194, allocations: 25.7 kB / 0.789 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.587e-05/0.2195, allocations: 322.8 kB / 0.7893 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003224/0.2198, allocations: 72.17 kB / 0.7894 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003201/0.2201, allocations: 90.5 kB / 0.7895 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006069/0.2207, allocations: 170.4 kB / 0.7897 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2207, allocations: 0 / 0.7897 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006913/0.2214, allocations: 205.4 kB / 0.7899 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.2215, allocations: 4 kB / 0.7899 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.2215, allocations: 0 / 0.7899 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.2215, allocations: 3.938 kB / 0.7899 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002652/0.2218, allocations: 43.89 kB / 0.7899 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.2218, allocations: 3.938 kB / 0.7899 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002002/0.222, allocations: 28.03 kB / 0.7899 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.513e-05/0.222, allocations: 7.922 kB / 0.7899 GB, free: 6.453 MB / 0.6075 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.923e-05/0.2221, allocations: 117.8 kB / 0.7901 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.327e-05/0.2222, allocations: 7.906 kB / 0.7901 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007189/0.2229, allocations: 210.1 kB / 0.7903 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.2229, allocations: 3.938 kB / 0.7903 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.2229, allocations: 3.984 kB / 0.7903 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.2229, allocations: 0 / 0.7903 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000224/0.2231, allocations: 238.4 kB / 0.7905 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2232, allocations: 0 / 0.7905 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002274/0.2234, allocations: 35.95 kB / 0.7905 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.2234, allocations: 0 / 0.7905 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.2234, allocations: 7.938 kB / 0.7905 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2234, allocations: 0 / 0.7905 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.2234, allocations: 0 / 0.7905 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006857/0.2241, allocations: 295.3 kB / 0.7908 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.359e-05/0.2242, allocations: 81.02 kB / 0.7909 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.541e-05/0.2242, allocations: 11.92 kB / 0.7909 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002961/0.2245, allocations: 27.95 kB / 0.7909 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.661e-05/0.2245, allocations: 7.938 kB / 0.7909 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-05/0.2246, allocations: 7.984 kB / 0.7909 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.711e-05/0.2246, allocations: 109.7 kB / 0.7911 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2246, allocations: 0 / 0.7911 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002463/0.2249, allocations: 20 kB / 0.7911 GB, free: 5.191 MB / 0.6075 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.0001145/0.225, allocations: 103.2 kB / 0.7912 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006967/0.2257, allocations: 171.8 kB / 0.7913 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2257, allocations: 0 / 0.7913 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003124/0.226, allocations: 75.92 kB / 0.7914 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003283/0.2264, allocations: 10.5 kB / 0.7914 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000611/0.227, allocations: 259.6 kB / 0.7917 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002089/0.2272, allocations: 0.7079 MB / 0.7924 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.964e-05/0.2273, allocations: 15.75 kB / 0.7924 GB, free: 3.801 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.339e-05/0.2274, allocations: 15.42 kB / 0.7924 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of SimCode: time 2.8e-07/0.2274, allocations: 0 / 0.7924 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of Templates: time 0.00352/0.2309, allocations: 1.457 MB / 0.7938 GB, free: 2.336 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)