Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Examples.SmoothBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009024/0.0009024, allocations: 83.69 kB / 21.74 MB, free: 2.512 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009548/0.0009548, allocations: 172.9 kB / 25.18 MB, free: 8.918 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9663/0.9663, allocations: 177.1 MB / 205.6 MB, free: 5.41 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.97/1.97, allocations: 389.6 MB / 0.6364 GB, free: 12.25 MB / 0.6042 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.SmoothBlocks") translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.SmoothBlocks") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 0.7755 GB, free: 6.047 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.334e-05/2.527e-05, allocations: 2.312 kB / 0.7755 GB, free: 6.043 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.002843/0.002868, allocations: 1.864 MB / 0.7774 GB, free: 4.195 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.00138/0.004248, allocations: 0.7171 MB / 0.7781 GB, free: 3.48 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.551e-05/0.004343, allocations: 8.469 kB / 0.7781 GB, free: 3.473 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 4.984e-05/0.004393, allocations: 12.67 kB / 0.7781 GB, free: 3.461 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 9.241e-05/0.004486, allocations: 20.58 kB / 0.7781 GB, free: 3.449 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005865/0.005072, allocations: 181.8 kB / 0.7783 GB, free: 3.273 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002189/0.005291, allocations: 131.5 kB / 0.7784 GB, free: 3.145 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001446/0.005436, allocations: 50.11 kB / 0.7784 GB, free: 3.094 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002175/0.005653, allocations: 86.61 kB / 0.7785 GB, free: 3.012 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 7.723e-05/0.005731, allocations: 31.89 kB / 0.7786 GB, free: 2.98 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.579e-05/0.005766, allocations: 12 kB / 0.7786 GB, free: 2.969 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001399/0.005906, allocations: 55.89 kB / 0.7786 GB, free: 2.914 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.1e-05/0.005937, allocations: 31.84 kB / 0.7787 GB, free: 2.883 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.086e-05/0.005978, allocations: 39.89 kB / 0.7787 GB, free: 2.844 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002287/0.006207, allocations: 139.6 kB / 0.7788 GB, free: 2.707 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.006211, allocations: 11.72 kB / 0.7788 GB, free: 2.699 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.372e-06/0.006213, allocations: 0 / 0.7788 GB, free: 2.699 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.006219, allocations: 0 / 0.7788 GB, free: 2.699 MB / 0.7292 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.0004271/0.006646, allocations: 332.3 kB / 0.7792 GB, free: 2.352 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.006692, allocations: 13.34 kB / 0.7792 GB, free: 2.34 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004581/0.00715, allocations: 101.2 kB / 0.7793 GB, free: 2.242 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001947/0.007345, allocations: 143.3 kB / 0.7794 GB, free: 2.078 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.634e-05/0.007421, allocations: 115.4 kB / 0.7795 GB, free: 1.941 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.101e-05/0.007442, allocations: 9.438 kB / 0.7795 GB, free: 1.934 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002487/0.007691, allocations: 186.5 kB / 0.7797 GB, free: 1.73 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.007701, allocations: 0.9062 kB / 0.7797 GB, free: 1.73 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.007716, allocations: 4 kB / 0.7797 GB, free: 1.727 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.007723, allocations: 5.312 kB / 0.7797 GB, free: 1.723 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.271e-05/0.007776, allocations: 31.94 kB / 0.7797 GB, free: 1.691 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004912/0.008267, allocations: 282 kB / 0.78 GB, free: 1.402 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002538/0.008521, allocations: 120.1 kB / 0.7801 GB, free: 1.277 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.999e-05/0.008551, allocations: 24.98 kB / 0.7801 GB, free: 1.25 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/0.008575, allocations: 7.984 kB / 0.7801 GB, free: 1.242 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.008599, allocations: 31.12 kB / 0.7802 GB, free: 1.203 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=6): time 1.813e-06/0.0086, allocations: 1.188 kB / 0.7802 GB, free: 1.203 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.000182/0.008782, allocations: 85.61 kB / 0.7803 GB, free: 1.113 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.389e-05/0.008816, allocations: 55.41 kB / 0.7803 GB, free: 1.047 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.623e-05/0.008903, allocations: 147.3 kB / 0.7805 GB, free: 0.8945 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.008923, allocations: 29.7 kB / 0.7805 GB, free: 0.8594 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.928e-05/0.008972, allocations: 108.2 kB / 0.7806 GB, free: 0.75 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.351e-05/0.008996, allocations: 24.44 kB / 0.7806 GB, free: 0.7266 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.668e-05/0.009042, allocations: 21.7 kB / 0.7806 GB, free: 0.6992 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.00919, allocations: 328.1 kB / 0.7809 GB, free: 380 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.996e-05/0.00922, allocations: 12 kB / 0.781 GB, free: 368 kB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.97e-05/0.009259, allocations: 34.56 kB / 0.781 GB, free: 324 kB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.701e-05/0.009336, allocations: 71.83 kB / 0.7811 GB, free: 244 kB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.009339, allocations: 0.6875 kB / 0.7811 GB, free: 244 kB / 0.7292 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001108/0.00945, allocations: 79.17 kB / 0.7811 GB, free: 160 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.009467, allocations: 6.344 kB / 0.7811 GB, free: 156 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.009473, allocations: 4 kB / 0.7811 GB, free: 152 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.418e-06/0.009483, allocations: 0 / 0.7811 GB, free: 152 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.009606, allocations: 33.45 kB / 0.7812 GB, free: 120 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.00961, allocations: 3.938 kB / 0.7812 GB, free: 116 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.349e-05/0.009664, allocations: 17.11 kB / 0.7812 GB, free: 100 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.009672, allocations: 0 / 0.7812 GB, free: 100 kB / 0.7292 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.642e-05/0.009758, allocations: 113.8 kB / 0.7813 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.331e-05/0.009781, allocations: 12.89 kB / 0.7813 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001373/0.009919, allocations: 83.42 kB / 0.7814 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.009921, allocations: 5.219 kB / 0.7814 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.009924, allocations: 3.938 kB / 0.7814 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.009927, allocations: 0 / 0.7814 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001257/0.01005, allocations: 102.9 kB / 0.7815 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.01006, allocations: 0 / 0.7815 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.791e-05/0.01013, allocations: 23.97 kB / 0.7815 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.01014, allocations: 5.156 kB / 0.7815 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.01014, allocations: 3.984 kB / 0.7815 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.01015, allocations: 0 / 0.7815 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.01015, allocations: 5.375 kB / 0.7815 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001272/0.01027, allocations: 171.6 kB / 0.7817 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.323e-05/0.01029, allocations: 15.88 kB / 0.7817 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/0.0103, allocations: 9.5 kB / 0.7817 GB, free: 15.51 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.405e-05/0.01039, allocations: 15.97 kB / 0.7817 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.319e-05/0.01042, allocations: 8 kB / 0.7817 GB, free: 15.49 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.01043, allocations: 4.578 kB / 0.7818 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.057e-05/0.01046, allocations: 39.19 kB / 0.7818 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01046, allocations: 1.219 kB / 0.7818 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001394/0.0106, allocations: 24 kB / 0.7818 GB, free: 15.42 MB / 0.7448 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.0001119/0.01071, allocations: 82.95 kB / 0.7819 GB, free: 15.33 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001017/0.01081, allocations: 45 kB / 0.7819 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/0.01082, allocations: 4 kB / 0.7819 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.707e-05/0.01086, allocations: 36.78 kB / 0.782 GB, free: 15.24 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001669/0.01102, allocations: 27.03 kB / 0.782 GB, free: 15.22 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004807/0.0115, allocations: 246.6 kB / 0.7822 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.214e-05/0.01157, allocations: 85.31 kB / 0.7823 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001515/0.01172, allocations: 88.98 kB / 0.7824 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of SimCode: time 1.694e-06/0.01172, allocations: 0 / 0.7824 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of Templates: time 0.002344/0.01406, allocations: 1.686 MB / 0.784 GB, free: 13.12 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & ./Buildings_13_Buildings.Utilities.Math.Examples.SmoothBlocks > Buildings_13_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.856333144009113]