Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001169/0.001169, allocations: 109.3 kB / 15.7 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.001204/0.001204, allocations: 195.4 kB / 16.63 MB, free: 6.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 222.9 MB / 240.3 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001991/0.001991, allocations: 282.4 kB / 290.8 MB, free: 1.938 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9345/0.9345, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001674/0.001674, allocations: 91.86 kB / 0.6814 GB, free: 15.52 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.1712, allocations: 86.99 MB / 0.7663 GB, free: 8.457 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothBlocks): time 0.004104/0.1753, allocations: 1.76 MB / 0.7681 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001485/0.1768, allocations: 0.6559 MB / 0.7687 GB, free: 6.02 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.711e-05/0.1769, allocations: 8 kB / 0.7687 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.646e-05/0.177, allocations: 15.8 kB / 0.7687 GB, free: 5.996 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.34e-05/0.1771, allocations: 11.81 kB / 0.7687 GB, free: 5.984 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000684/0.1778, allocations: 170.5 kB / 0.7689 GB, free: 5.82 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001593/0.178, allocations: 127.6 kB / 0.769 GB, free: 5.695 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001339/0.1781, allocations: 52.78 kB / 0.7691 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001105/0.1782, allocations: 59.83 kB / 0.7691 GB, free: 5.586 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.507e-05/0.1783, allocations: 51.75 kB / 0.7692 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.32e-05/0.1783, allocations: 12 kB / 0.7692 GB, free: 5.523 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000111/0.1785, allocations: 43.97 kB / 0.7692 GB, free: 5.48 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.721e-05/0.1785, allocations: 31.91 kB / 0.7693 GB, free: 5.449 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.738e-05/0.1786, allocations: 55.7 kB / 0.7693 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002013/0.1788, allocations: 143.5 kB / 0.7694 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1788, allocations: 0 / 0.7694 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.403e-06/0.1788, allocations: 0 / 0.7694 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.1788, allocations: 0 / 0.7694 GB, free: 5.254 MB / 0.5606 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.000559/0.1794, allocations: 450.9 kB / 0.7699 GB, free: 4.766 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.1794, allocations: 12.03 kB / 0.7699 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008237/0.1802, allocations: 108.6 kB / 0.77 GB, free: 4.648 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.1804, allocations: 184.2 kB / 0.7702 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001018/0.1805, allocations: 71.91 kB / 0.7702 GB, free: 4.348 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.129e-05/0.1805, allocations: 8.375 kB / 0.7702 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007271/0.1813, allocations: 169.7 kB / 0.7704 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.1813, allocations: 3.938 kB / 0.7704 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.976e-05/0.1813, allocations: 4 kB / 0.7704 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.1813, allocations: 8 kB / 0.7704 GB, free: 4.152 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000907/0.1822, allocations: 159.7 kB / 0.7706 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001487/0.1837, allocations: 478 kB / 0.771 GB, free: 3.48 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001536/0.1853, allocations: 218.3 kB / 0.7712 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004487/0.1858, allocations: 80.84 kB / 0.7713 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.262e-05/0.1858, allocations: 4 kB / 0.7713 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.1858, allocations: 34.56 kB / 0.7713 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=6): time 2.034e-06/0.1859, allocations: 0 / 0.7713 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.001467/0.1873, allocations: 265.5 kB / 0.7716 GB, free: 2.863 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.724e-05/0.1874, allocations: 55.41 kB / 0.7717 GB, free: 2.797 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001673/0.1876, allocations: 144 kB / 0.7718 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.66e-05/0.1876, allocations: 25.7 kB / 0.7718 GB, free: 2.617 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.66e-05/0.1877, allocations: 112.2 kB / 0.7719 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.416e-05/0.1878, allocations: 19.69 kB / 0.7719 GB, free: 2.48 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.616e-05/0.1879, allocations: 25.7 kB / 0.772 GB, free: 2.449 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001768/0.188, allocations: 314.8 kB / 0.7723 GB, free: 2.133 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004072/0.1885, allocations: 87.84 kB / 0.7724 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003985/0.1889, allocations: 90.5 kB / 0.7724 GB, free: 1.949 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007904/0.1897, allocations: 158.4 kB / 0.7726 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1897, allocations: 0 / 0.7726 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0009221/0.1906, allocations: 201.4 kB / 0.7728 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.1907, allocations: 8 kB / 0.7728 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.1907, allocations: 0 / 0.7728 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.266e-05/0.1907, allocations: 7.875 kB / 0.7728 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003553/0.1911, allocations: 39.94 kB / 0.7728 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.1911, allocations: 8.203 kB / 0.7728 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002648/0.1914, allocations: 27.91 kB / 0.7729 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.222e-05/0.1914, allocations: 4.312 kB / 0.7729 GB, free: 1.488 MB / 0.5606 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 0.0002124/0.1916, allocations: 122.4 kB / 0.773 GB, free: 1.359 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.332e-05/0.1917, allocations: 11.89 kB / 0.773 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001012/0.1927, allocations: 218.1 kB / 0.7732 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.1927, allocations: 0 / 0.7732 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.1927, allocations: 0 / 0.7732 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.1927, allocations: 0 / 0.7732 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003654/0.1931, allocations: 234.3 kB / 0.7734 GB, free: 0.8477 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.1931, allocations: 0 / 0.7734 GB, free: 0.8477 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003186/0.1935, allocations: 35.95 kB / 0.7735 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.1935, allocations: 0 / 0.7735 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.959e-05/0.1935, allocations: 3.938 kB / 0.7735 GB, free: 0.8086 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.1935, allocations: 4 kB / 0.7735 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1935, allocations: 0 / 0.7735 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009794/0.1945, allocations: 287.2 kB / 0.7737 GB, free: 0.5078 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.598e-05/0.1946, allocations: 85.02 kB / 0.7738 GB, free: 416 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.48e-05/0.1946, allocations: 3.938 kB / 0.7738 GB, free: 412 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004311/0.1951, allocations: 27.95 kB / 0.7739 GB, free: 384 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.693e-05/0.1951, allocations: 7.984 kB / 0.7739 GB, free: 376 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.888e-05/0.1952, allocations: 15.98 kB / 0.7739 GB, free: 360 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.63e-05/0.1953, allocations: 101.2 kB / 0.774 GB, free: 260 kB / 0.5606 GB Notification: Performance of sort global known variables: time 1.7e-07/0.1953, allocations: 0 / 0.774 GB, free: 260 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000413/0.1957, allocations: 27.94 kB / 0.774 GB, free: 232 kB / 0.5606 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.0001807/0.1959, allocations: 95.25 kB / 0.7741 GB, free: 128 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.3072/0.5031, allocations: 165.7 kB / 0.7743 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.5032, allocations: 2.531 kB / 0.7743 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003474/0.5035, allocations: 81.53 kB / 0.7743 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003089/0.5038, allocations: 9.828 kB / 0.7743 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006811/0.5045, allocations: 254.4 kB / 0.7746 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001134/0.5046, allocations: 0.7018 MB / 0.7753 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.596e-05/0.5047, allocations: 14.58 kB / 0.7753 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.526e-05/0.5048, allocations: 14.5 kB / 0.7753 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of SimCode: time 6.62e-07/0.5048, allocations: 0.5 kB / 0.7753 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of Templates: time 0.003788/0.5086, allocations: 1.473 MB / 0.7767 GB, free: 14.36 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)