Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Utilities.Math.Examples.SmoothBlocks.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002411/0.002415, allocations: 355.2 kB / 15.94 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.381/1.381, allocations: 165.8 MB / 182.5 MB, free: 5.926 MB / 90.73 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.169/4.169, allocations: 410.8 MB / 0.5995 GB, free: 2.207 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001804/0.001804, allocations: 199.8 kB / 0.6662 GB, free: 14.07 MB / 490.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008274/0.0008277, allocations: 12 kB / 0.7423 GB, free: 84 kB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3883/0.3891, allocations: 67.44 MB / 0.8081 GB, free: 245.4 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothBlocks): time 0.002038/0.3912, allocations: 1.442 MB / 0.8095 GB, free: 244.7 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001243/0.3925, allocations: 0.6298 MB / 0.8102 GB, free: 244.4 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.989e-05/0.3926, allocations: 1.25 kB / 0.8102 GB, free: 244.4 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.9e-05/0.3927, allocations: 8.625 kB / 0.8102 GB, free: 244.3 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.763e-05/0.3928, allocations: 13.48 kB / 0.8102 GB, free: 244.3 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006331/0.3934, allocations: 144.5 kB / 0.8103 GB, free: 244.3 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001499/0.3936, allocations: 104.6 kB / 0.8104 GB, free: 244.3 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001435/0.3937, allocations: 40.27 kB / 0.8105 GB, free: 244.2 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001268/0.3939, allocations: 44.56 kB / 0.8105 GB, free: 244.2 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 8.648e-05/0.394, allocations: 40.89 kB / 0.8105 GB, free: 244.2 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.708e-05/0.394, allocations: 5.109 kB / 0.8105 GB, free: 244.2 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001217/0.3941, allocations: 37.39 kB / 0.8106 GB, free: 244.2 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.656e-05/0.3942, allocations: 29.98 kB / 0.8106 GB, free: 244.2 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.204e-05/0.3942, allocations: 39.05 kB / 0.8106 GB, free: 244.2 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001789/0.3944, allocations: 93.86 kB / 0.8107 GB, free: 244.1 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.182e-06/0.3944, allocations: 0.75 kB / 0.8107 GB, free: 244.1 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.271e-06/0.3944, allocations: 1.969 kB / 0.8107 GB, free: 244.1 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.905e-06/0.3945, allocations: 1.969 kB / 0.8107 GB, free: 244.1 MB / 0.5886 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.0005487/0.395, allocations: 416 kB / 0.8111 GB, free: 243.8 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.3951, allocations: 11.58 kB / 0.8112 GB, free: 243.8 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009986/0.3961, allocations: 144.9 kB / 0.8113 GB, free: 243.7 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.886e-05/0.3962, allocations: 177.1 kB / 0.8115 GB, free: 243.5 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001008/0.3963, allocations: 71.25 kB / 0.8115 GB, free: 243.5 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.479e-05/0.3964, allocations: 5.469 kB / 0.8115 GB, free: 243.5 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006554/0.397, allocations: 193.7 kB / 0.8117 GB, free: 243.4 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.397, allocations: 0 / 0.8117 GB, free: 243.4 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.108e-05/0.3971, allocations: 3.562 kB / 0.8117 GB, free: 243.4 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.199e-06/0.3971, allocations: 3.672 kB / 0.8117 GB, free: 243.4 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007822/0.3979, allocations: 192.9 kB / 0.8119 GB, free: 243.4 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001284/0.3992, allocations: 0.502 MB / 0.8124 GB, free: 243 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001275/0.4005, allocations: 274.8 kB / 0.8127 GB, free: 243 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003906/0.4009, allocations: 100.6 kB / 0.8128 GB, free: 242.9 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.149e-05/0.4009, allocations: 5.156 kB / 0.8128 GB, free: 242.9 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.401, allocations: 37.64 kB / 0.8128 GB, free: 242.9 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=6): time 3.161e-06/0.401, allocations: 0 / 0.8128 GB, free: 242.9 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6): time 0.001305/0.4023, allocations: 313.3 kB / 0.8131 GB, free: 242.8 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.444e-05/0.4024, allocations: 51.41 kB / 0.8131 GB, free: 242.8 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.4025, allocations: 144.9 kB / 0.8133 GB, free: 242.6 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.092e-05/0.4025, allocations: 30.58 kB / 0.8133 GB, free: 242.6 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.647e-05/0.4026, allocations: 105.9 kB / 0.8134 GB, free: 242.5 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.188e-05/0.4026, allocations: 19.89 kB / 0.8134 GB, free: 242.5 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.237e-05/0.4027, allocations: 2.375 kB / 0.8134 GB, free: 242.5 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 5.931e-05/0.4027, allocations: 318.8 kB / 0.8137 GB, free: 242.2 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003932/0.4031, allocations: 94.08 kB / 0.8138 GB, free: 242.2 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000405/0.4036, allocations: 115.9 kB / 0.8139 GB, free: 242.1 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000387/0.404, allocations: 91.33 kB / 0.814 GB, free: 242.1 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.215e-06/0.404, allocations: 0 / 0.814 GB, free: 242.1 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0008851/0.4049, allocations: 240.1 kB / 0.8143 GB, free: 242 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.851e-05/0.4049, allocations: 5.438 kB / 0.8143 GB, free: 242 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.865e-06/0.4049, allocations: 1.531 kB / 0.8143 GB, free: 242 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.405, allocations: 3.281 kB / 0.8143 GB, free: 242 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003493/0.4053, allocations: 44.34 kB / 0.8143 GB, free: 242 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.868e-06/0.4053, allocations: 3.938 kB / 0.8143 GB, free: 242 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002492/0.4056, allocations: 43.47 kB / 0.8144 GB, free: 242 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.356e-05/0.4056, allocations: 6.266 kB / 0.8144 GB, free: 242 MB / 0.5886 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001171/0.4058, allocations: 117.6 kB / 0.8145 GB, free: 241.9 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.121e-05/0.4058, allocations: 13.3 kB / 0.8145 GB, free: 241.9 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009272/0.4068, allocations: 237.8 kB / 0.8147 GB, free: 241.8 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.488e-06/0.4068, allocations: 4.719 kB / 0.8147 GB, free: 241.8 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.772e-06/0.4068, allocations: 0 / 0.8147 GB, free: 241.8 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.4068, allocations: 1.5 kB / 0.8147 GB, free: 241.8 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003006/0.4071, allocations: 246.7 kB / 0.8149 GB, free: 241.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.4072, allocations: 0.75 kB / 0.815 GB, free: 241.6 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003083/0.4075, allocations: 53.62 kB / 0.815 GB, free: 241.6 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.838e-06/0.4075, allocations: 3.953 kB / 0.815 GB, free: 241.6 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.842e-05/0.4075, allocations: 2.516 kB / 0.815 GB, free: 241.6 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.4075, allocations: 0 / 0.815 GB, free: 241.6 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.033e-06/0.4076, allocations: 2.016 kB / 0.815 GB, free: 241.6 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008619/0.4084, allocations: 315.2 kB / 0.8153 GB, free: 241.4 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.15e-05/0.4085, allocations: 87.48 kB / 0.8154 GB, free: 241.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.101e-05/0.4085, allocations: 9.391 kB / 0.8154 GB, free: 241.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003808/0.4089, allocations: 43.11 kB / 0.8154 GB, free: 241.3 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.551e-05/0.409, allocations: 4.922 kB / 0.8154 GB, free: 241.3 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.197e-05/0.409, allocations: 7.281 kB / 0.8155 GB, free: 241.3 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 7.515e-05/0.4091, allocations: 104 kB / 0.8156 GB, free: 241.2 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.394e-06/0.4091, allocations: 0 / 0.8156 GB, free: 241.2 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003649/0.4095, allocations: 38.56 kB / 0.8156 GB, free: 241.2 MB / 0.5886 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001188/0.4096, allocations: 95.88 kB / 0.8157 GB, free: 241.1 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0008505/0.4105, allocations: 195.6 kB / 0.8159 GB, free: 241.1 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.36e-06/0.4105, allocations: 2.438 kB / 0.8159 GB, free: 241.1 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.000405/0.4109, allocations: 105.1 kB / 0.816 GB, free: 241.1 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003833/0.4113, allocations: 4.406 kB / 0.816 GB, free: 241.1 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007984/0.4121, allocations: 300.5 kB / 0.8163 GB, free: 240.9 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001629/0.4123, allocations: 0.7039 MB / 0.8169 GB, free: 240.2 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001417/0.4125, allocations: 15.2 kB / 0.817 GB, free: 240.2 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.254e-05/0.4125, allocations: 15.75 kB / 0.817 GB, free: 240.2 MB / 0.5886 GB Notification: Performance of SimCode: time 2.282e-06/0.4126, allocations: 1.188 kB / 0.817 GB, free: 240.2 MB / 0.5886 GB Notification: Performance of Templates: time 0.004915/0.4175, allocations: 1.317 MB / 0.8183 GB, free: 240.2 MB / 0.5886 GB