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.001575/0.001575, allocations: 104.9 kB / 16.4 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00168/0.00168, allocations: 194.5 kB / 17.34 MB, free: 5.836 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.43/1.43, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002519/0.002519, allocations: 291.3 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.007/1.007, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002734/0.002734, allocations: 99.84 kB / 0.6821 GB, free: 6.941 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4489/0.4516, allocations: 86.98 MB / 0.7671 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothBlocks): time 0.003071/0.4547, allocations: 1.774 MB / 0.7688 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001201/0.4559, allocations: 0.6572 MB / 0.7694 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.78e-05/0.4559, allocations: 7.938 kB / 0.7694 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.78e-05/0.456, allocations: 15.8 kB / 0.7695 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.682e-05/0.456, allocations: 15.81 kB / 0.7695 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005855/0.4566, allocations: 168.5 kB / 0.7696 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001913/0.4568, allocations: 127.7 kB / 0.7697 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001405/0.457, allocations: 40.84 kB / 0.7698 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001323/0.4571, allocations: 59.77 kB / 0.7698 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.276e-05/0.4572, allocations: 51.75 kB / 0.7699 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.919e-05/0.4572, allocations: 12 kB / 0.7699 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001117/0.4573, allocations: 47.97 kB / 0.77 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.918e-05/0.4574, allocations: 31.91 kB / 0.77 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.058e-05/0.4574, allocations: 51.72 kB / 0.77 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002349/0.4577, allocations: 149 kB / 0.7702 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.4577, allocations: 4 kB / 0.7702 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.493e-06/0.4577, allocations: 0 / 0.7702 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.4577, allocations: 0 / 0.7702 GB, free: 0.6875 MB / 0.5294 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.0006834/0.4583, allocations: 442.8 kB / 0.7706 GB, free: 212 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.4584, allocations: 12.03 kB / 0.7706 GB, free: 200 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009089/0.4593, allocations: 112.7 kB / 0.7707 GB, free: 88 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001914/0.4595, allocations: 192.1 kB / 0.7709 GB, free: 15.86 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001069/0.4596, allocations: 63.97 kB / 0.771 GB, free: 15.79 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.634e-05/0.4596, allocations: 8.375 kB / 0.771 GB, free: 15.78 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005769/0.4602, allocations: 173.7 kB / 0.7711 GB, free: 15.6 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.218e-06/0.4602, allocations: 0 / 0.7711 GB, free: 15.6 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.474e-05/0.4602, allocations: 4 kB / 0.7711 GB, free: 15.6 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.4602, allocations: 0 / 0.7711 GB, free: 15.6 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006683/0.4609, allocations: 163.7 kB / 0.7713 GB, free: 15.44 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001169/0.4621, allocations: 474.1 kB / 0.7717 GB, free: 14.93 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001122/0.4632, allocations: 214.3 kB / 0.772 GB, free: 14.71 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003381/0.4635, allocations: 80.89 kB / 0.772 GB, free: 14.62 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.7e-05/0.4636, allocations: 8 kB / 0.772 GB, free: 14.62 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/0.4636, allocations: 34.56 kB / 0.7721 GB, free: 14.57 MB / 0.545 GB Notification: Performance of pre-optimization done (n=6): time 1.263e-06/0.4636, allocations: 0 / 0.7721 GB, free: 14.57 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.00115/0.4647, allocations: 265.3 kB / 0.7723 GB, free: 14.31 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.646e-05/0.4648, allocations: 51.41 kB / 0.7724 GB, free: 14.25 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.4649, allocations: 136.2 kB / 0.7725 GB, free: 14.11 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.018e-05/0.465, allocations: 29.64 kB / 0.7725 GB, free: 14.07 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.962e-05/0.465, allocations: 120.2 kB / 0.7726 GB, free: 13.95 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.342e-05/0.4651, allocations: 19.8 kB / 0.7727 GB, free: 13.93 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.595e-05/0.4651, allocations: 29.7 kB / 0.7727 GB, free: 13.89 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.4653, allocations: 318.8 kB / 0.773 GB, free: 13.57 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003438/0.4656, allocations: 71.92 kB / 0.7731 GB, free: 13.5 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003479/0.466, allocations: 102.4 kB / 0.7732 GB, free: 13.39 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006466/0.4666, allocations: 158.4 kB / 0.7733 GB, free: 13.23 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.4666, allocations: 4 kB / 0.7733 GB, free: 13.22 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007577/0.4674, allocations: 205.7 kB / 0.7735 GB, free: 13.02 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.4674, allocations: 8 kB / 0.7735 GB, free: 13.01 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.4674, allocations: 0 / 0.7735 GB, free: 13.01 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.4674, allocations: 3.938 kB / 0.7735 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002888/0.4677, allocations: 40.02 kB / 0.7736 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.4677, allocations: 0 / 0.7736 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002087/0.4679, allocations: 23.95 kB / 0.7736 GB, free: 12.94 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.971e-05/0.468, allocations: 4 kB / 0.7736 GB, free: 12.94 MB / 0.545 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.0001209/0.4681, allocations: 117.8 kB / 0.7737 GB, free: 12.81 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.024e-05/0.4681, allocations: 11.94 kB / 0.7737 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007868/0.4689, allocations: 210.1 kB / 0.7739 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.4689, allocations: 4 kB / 0.7739 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.4689, allocations: 0 / 0.7739 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.4689, allocations: 7.984 kB / 0.7739 GB, free: 12.58 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002929/0.4692, allocations: 230.3 kB / 0.7741 GB, free: 12.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.4692, allocations: 3.938 kB / 0.7741 GB, free: 12.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002429/0.4695, allocations: 31.95 kB / 0.7742 GB, free: 12.27 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.4695, allocations: 0 / 0.7742 GB, free: 12.27 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.153e-05/0.4695, allocations: 11.92 kB / 0.7742 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.287e-06/0.4695, allocations: 4 kB / 0.7742 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4695, allocations: 0 / 0.7742 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007517/0.4702, allocations: 283.3 kB / 0.7745 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.052e-05/0.4703, allocations: 85.06 kB / 0.7745 GB, free: 11.86 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.39e-05/0.4703, allocations: 3.938 kB / 0.7746 GB, free: 11.85 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003134/0.4706, allocations: 31.95 kB / 0.7746 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.756e-05/0.4707, allocations: 11.98 kB / 0.7746 GB, free: 11.81 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/0.4707, allocations: 4.188 kB / 0.7746 GB, free: 11.8 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.783e-05/0.4708, allocations: 107.2 kB / 0.7747 GB, free: 11.7 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4708, allocations: 0 / 0.7747 GB, free: 11.7 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002905/0.4711, allocations: 23.95 kB / 0.7747 GB, free: 11.68 MB / 0.545 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.000155/0.4712, allocations: 99.25 kB / 0.7748 GB, free: 11.57 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007271/0.472, allocations: 167.8 kB / 0.775 GB, free: 11.41 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.472, allocations: 0 / 0.775 GB, free: 11.41 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003311/0.4723, allocations: 84.03 kB / 0.7751 GB, free: 11.32 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003439/0.4726, allocations: 12.89 kB / 0.7751 GB, free: 11.32 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007435/0.4734, allocations: 259.1 kB / 0.7753 GB, free: 11.04 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003608/0.4737, allocations: 0.7079 MB / 0.776 GB, free: 10.3 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.358e-05/0.4738, allocations: 11.98 kB / 0.776 GB, free: 10.29 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.745e-05/0.4739, allocations: 15.44 kB / 0.776 GB, free: 10.28 MB / 0.545 GB Notification: Performance of SimCode: time 3.31e-07/0.4739, allocations: 0 / 0.776 GB, free: 10.28 MB / 0.545 GB Notification: Performance of Templates: time 0.004526/0.4784, allocations: 1.486 MB / 0.7775 GB, free: 8.805 MB / 0.545 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)