Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.Round.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.Functions.Examples.Round,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.Round") translateModel(Buildings.Utilities.Math.Functions.Examples.Round,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.Round") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 108 kB / 15.6 MB, free: 128 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.001183/0.001183, allocations: 196 kB / 16.53 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.226/1.226, 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.572/1.572, allocations: 292.3 MB / 0.5489 GB, free: 12.86 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.001335/0.001335, allocations: 72.31 kB / 0.6715 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2092/0.2106, allocations: 114.5 MB / 0.7834 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001648/0.2123, allocations: 0.6125 MB / 0.784 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002271/0.2125, allocations: 67.78 kB / 0.784 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.547e-05/0.2125, allocations: 0 / 0.784 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.109e-05/0.2125, allocations: 0 / 0.784 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.982e-06/0.2126, allocations: 0 / 0.784 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002179/0.2128, allocations: 19.92 kB / 0.7841 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.167e-05/0.2128, allocations: 15.97 kB / 0.7841 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.813e-05/0.2129, allocations: 4 kB / 0.7841 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.876e-05/0.2129, allocations: 11.94 kB / 0.7841 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.625e-05/0.213, allocations: 7.984 kB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.809e-06/0.213, allocations: 0 / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.721e-05/0.213, allocations: 15.98 kB / 0.7841 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.057e-05/0.2131, allocations: 3.984 kB / 0.7841 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.12e-05/0.2131, allocations: 3.938 kB / 0.7841 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 6.855e-05/0.2132, allocations: 15.98 kB / 0.7841 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.2132, allocations: 3.984 kB / 0.7841 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.163e-06/0.2132, allocations: 4 kB / 0.7841 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.898e-06/0.2132, allocations: 0 / 0.7841 GB, free: 12.71 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003009/0.2135, allocations: 323.6 kB / 0.7844 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.995e-05/0.2135, allocations: 12.03 kB / 0.7845 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.726e-05/0.2136, allocations: 0.9375 kB / 0.7845 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.609e-05/0.2136, allocations: 168.3 kB / 0.7846 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.673e-06/0.2137, allocations: 384 / 0.7846 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.105e-05/0.2137, allocations: 4.375 kB / 0.7846 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001126/0.2138, allocations: 78.53 kB / 0.7847 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.2138, allocations: 4.125 kB / 0.7847 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.2138, allocations: 3.938 kB / 0.7847 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.2138, allocations: 0 / 0.7847 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.101e-05/0.2139, allocations: 11.94 kB / 0.7847 GB, free: 12 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001609/0.214, allocations: 193.2 kB / 0.7849 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.749e-05/0.2141, allocations: 89.08 kB / 0.785 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.388e-05/0.2142, allocations: 48.41 kB / 0.785 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001648/0.2143, allocations: 81.11 kB / 0.7851 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.2144, allocations: 34.55 kB / 0.7851 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.2144, allocations: 0 / 0.7851 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.000185/0.2146, allocations: 85.38 kB / 0.7852 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.461e-05/0.2146, allocations: 158.2 kB / 0.7854 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.59e-05/0.2147, allocations: 89.86 kB / 0.7855 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.2147, allocations: 25.7 kB / 0.7855 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.097e-05/0.2147, allocations: 80.14 kB / 0.7856 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.645e-05/0.2148, allocations: 16.42 kB / 0.7856 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.407e-05/0.2148, allocations: 21.72 kB / 0.7856 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.788e-05/0.2149, allocations: 314.8 kB / 0.7859 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.927e-05/0.2149, allocations: 7.984 kB / 0.7859 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.102e-05/0.215, allocations: 32.3 kB / 0.7859 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.683e-05/0.215, allocations: 52.22 kB / 0.786 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.215, allocations: 0 / 0.786 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.206e-05/0.2151, allocations: 61.56 kB / 0.786 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.2152, allocations: 8 kB / 0.7861 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.2152, allocations: 0 / 0.7861 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.2152, allocations: 4.094 kB / 0.7861 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.277e-05/0.2153, allocations: 19.92 kB / 0.7861 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.2153, allocations: 4 kB / 0.7861 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.927e-05/0.2153, allocations: 4 kB / 0.7861 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.2153, allocations: 4 kB / 0.7861 GB, free: 10.34 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (5): * Single equations (assignments): 5 * 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 6.15e-05/0.2154, allocations: 108.7 kB / 0.7862 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.686e-05/0.2154, allocations: 7.906 kB / 0.7862 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002002/0.2156, allocations: 116.6 kB / 0.7863 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.2156, allocations: 4 kB / 0.7863 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.2157, allocations: 0 / 0.7863 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.2157, allocations: 4 kB / 0.7863 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001312/0.2158, allocations: 169.6 kB / 0.7865 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2158, allocations: 0 / 0.7865 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.709e-05/0.2159, allocations: 16.09 kB / 0.7865 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.399e-06/0.2159, allocations: 11.98 kB / 0.7865 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.2159, allocations: 3.938 kB / 0.7865 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.2159, allocations: 4 kB / 0.7865 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.2159, allocations: 0 / 0.7865 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001334/0.216, allocations: 128.4 kB / 0.7866 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.014e-05/0.2161, allocations: 81.11 kB / 0.7867 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.2161, allocations: 3.938 kB / 0.7867 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.966e-05/0.2161, allocations: 4.094 kB / 0.7867 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.503e-05/0.2162, allocations: 15.92 kB / 0.7867 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.2162, allocations: 7.938 kB / 0.7867 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.551e-05/0.2162, allocations: 75.28 kB / 0.7868 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2162, allocations: 0 / 0.7868 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002003/0.2164, allocations: 8 kB / 0.7868 GB, free: 9.465 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (9): * Single equations (assignments): 9 * 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.0001667/0.2166, allocations: 114.6 kB / 0.7869 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001117/0.2167, allocations: 35.92 kB / 0.787 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.2167, allocations: 0 / 0.787 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.503e-05/0.2168, allocations: 28.44 kB / 0.787 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001543/0.2169, allocations: 7.938 kB / 0.787 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002385/0.2172, allocations: 152.3 kB / 0.7871 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001789/0.2174, allocations: 0.6807 MB / 0.7878 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.225e-05/0.2174, allocations: 16 kB / 0.7878 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.149e-05/0.2174, allocations: 11.44 kB / 0.7878 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of SimCode: time 2.7e-07/0.2174, allocations: 0 / 0.7878 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of Templates: time 0.002642/0.2201, allocations: 0.564 MB / 0.7884 GB, free: 7.789 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.Round.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.Round.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.Round.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.Round -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.Round.pipe 2>&1)