Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 108 kB / 15.61 MB, free: 152 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.0009945/0.0009944, allocations: 194.4 kB / 16.53 MB, free: 6.664 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.241/1.241, allocations: 205.1 MB / 222.4 MB, free: 4.59 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.356/1.356, allocations: 251.7 MB / 0.5092 GB, free: 3.094 MB / 414.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.001301/0.001301, allocations: 67.91 kB / 0.6223 GB, free: 1.512 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3821/0.3834, allocations: 104.7 MB / 0.7245 GB, free: 13.08 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.002461/0.3859, allocations: 1.438 MB / 0.7259 GB, free: 11.63 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000637/0.3865, allocations: 375.5 kB / 0.7263 GB, free: 11.26 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.86e-05/0.3866, allocations: 0 / 0.7263 GB, free: 11.26 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.394e-05/0.3866, allocations: 0 / 0.7263 GB, free: 11.26 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.632e-05/0.3867, allocations: 7.922 kB / 0.7263 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003877/0.3871, allocations: 122.3 kB / 0.7264 GB, free: 11.13 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.041e-05/0.3871, allocations: 27.92 kB / 0.7264 GB, free: 11.11 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.024e-05/0.3872, allocations: 7.984 kB / 0.7264 GB, free: 11.1 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.757e-05/0.3873, allocations: 11.94 kB / 0.7264 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.758e-05/0.3873, allocations: 15.92 kB / 0.7265 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.141e-05/0.3873, allocations: 0 / 0.7265 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003708/0.3877, allocations: 279.6 kB / 0.7267 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.316e-05/0.3877, allocations: 4 kB / 0.7267 GB, free: 10.79 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.076e-05/0.3877, allocations: 11.88 kB / 0.7267 GB, free: 10.78 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001655/0.3879, allocations: 107.8 kB / 0.7268 GB, free: 10.68 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.3879, allocations: 0 / 0.7268 GB, free: 10.68 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3879, allocations: 4 kB / 0.7268 GB, free: 10.67 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.399e-06/0.3879, allocations: 0 / 0.7268 GB, free: 10.67 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.00042/0.3884, allocations: 369.4 kB / 0.7272 GB, free: 10.26 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.3884, allocations: 12.03 kB / 0.7272 GB, free: 10.25 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.641e-05/0.3884, allocations: 0.9375 kB / 0.7272 GB, free: 10.25 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.3886, allocations: 168.4 kB / 0.7274 GB, free: 10.05 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-06/0.3886, allocations: 384 / 0.7274 GB, free: 10.05 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.194e-05/0.3886, allocations: 4.375 kB / 0.7274 GB, free: 10.04 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001589/0.3888, allocations: 54.23 kB / 0.7274 GB, free: 9.984 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.3888, allocations: 192 / 0.7274 GB, free: 9.984 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.3888, allocations: 3.938 kB / 0.7274 GB, free: 9.98 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.586e-06/0.3888, allocations: 0 / 0.7274 GB, free: 9.98 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001573/0.389, allocations: 35.91 kB / 0.7275 GB, free: 9.945 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002875/0.3893, allocations: 248.9 kB / 0.7277 GB, free: 9.652 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001181/0.3894, allocations: 46.5 kB / 0.7277 GB, free: 9.598 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.371e-05/0.3895, allocations: 24.89 kB / 0.7278 GB, free: 9.57 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005975/0.3901, allocations: 457.5 kB / 0.7282 GB, free: 9.031 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/0.3901, allocations: 38.56 kB / 0.7282 GB, free: 8.984 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.3901, allocations: 3.938 kB / 0.7282 GB, free: 8.98 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003278/0.3905, allocations: 85.52 kB / 0.7283 GB, free: 8.891 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.896e-05/0.3905, allocations: 55.53 kB / 0.7284 GB, free: 8.824 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.293e-05/0.3906, allocations: 105.8 kB / 0.7285 GB, free: 8.711 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.3906, allocations: 29.7 kB / 0.7285 GB, free: 8.676 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.722e-05/0.3906, allocations: 84.14 kB / 0.7286 GB, free: 8.59 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.393e-05/0.3907, allocations: 3.906 kB / 0.7286 GB, free: 8.586 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.711e-05/0.3907, allocations: 13.72 kB / 0.7286 GB, free: 8.566 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.929e-05/0.3908, allocations: 318.8 kB / 0.7289 GB, free: 8.246 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.61e-05/0.3909, allocations: 15.98 kB / 0.7289 GB, free: 8.23 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.518e-05/0.3909, allocations: 19.98 kB / 0.7289 GB, free: 8.211 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/0.3911, allocations: 36.81 kB / 0.729 GB, free: 8.172 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.3911, allocations: 3.938 kB / 0.729 GB, free: 8.168 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001824/0.3913, allocations: 69.61 kB / 0.7291 GB, free: 8.094 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.3913, allocations: 12.09 kB / 0.7291 GB, free: 8.082 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.3913, allocations: 0 / 0.7291 GB, free: 8.082 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.3913, allocations: 0 / 0.7291 GB, free: 8.082 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.466e-05/0.3914, allocations: 11.98 kB / 0.7291 GB, free: 8.07 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.3914, allocations: 0 / 0.7291 GB, free: 8.07 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.937e-05/0.3915, allocations: 7.984 kB / 0.7291 GB, free: 8.062 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.379e-06/0.3915, allocations: 0 / 0.7291 GB, free: 8.062 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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 5.87e-05/0.3916, allocations: 109.8 kB / 0.7292 GB, free: 7.945 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.482e-05/0.3916, allocations: 11.91 kB / 0.7292 GB, free: 7.934 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002027/0.3918, allocations: 73.12 kB / 0.7293 GB, free: 7.855 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.3919, allocations: 4 kB / 0.7293 GB, free: 7.852 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.3919, allocations: 0 / 0.7293 GB, free: 7.852 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.3919, allocations: 3.984 kB / 0.7293 GB, free: 7.848 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001697/0.392, allocations: 161.6 kB / 0.7294 GB, free: 7.641 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.3921, allocations: 0 / 0.7294 GB, free: 7.641 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.378e-05/0.3921, allocations: 15.98 kB / 0.7294 GB, free: 7.625 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.3921, allocations: 4.031 kB / 0.7295 GB, free: 7.621 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.541e-06/0.3921, allocations: 0 / 0.7295 GB, free: 7.621 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3921, allocations: 0 / 0.7295 GB, free: 7.621 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.3921, allocations: 0 / 0.7295 GB, free: 7.621 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002286/0.3924, allocations: 167.4 kB / 0.7296 GB, free: 7.441 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.038e-05/0.3924, allocations: 85.03 kB / 0.7297 GB, free: 7.34 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.243e-05/0.3924, allocations: 11.97 kB / 0.7297 GB, free: 7.328 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.745e-05/0.3925, allocations: 8.234 kB / 0.7297 GB, free: 7.32 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.306e-05/0.3926, allocations: 0 / 0.7297 GB, free: 7.32 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.3926, allocations: 4 kB / 0.7297 GB, free: 7.316 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.519e-05/0.3926, allocations: 91.27 kB / 0.7298 GB, free: 7.227 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.3926, allocations: 0 / 0.7298 GB, free: 7.227 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002084/0.3928, allocations: 12 kB / 0.7298 GB, free: 7.215 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 (2): * Single equations (assignments): 2 * 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.0001413/0.393, allocations: 107.2 kB / 0.7299 GB, free: 7.102 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001878/0.3932, allocations: 39.95 kB / 0.73 GB, free: 7.062 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.3932, allocations: 0 / 0.73 GB, free: 7.062 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.941e-05/0.3933, allocations: 23.92 kB / 0.73 GB, free: 7.039 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000255/0.3935, allocations: 11.2 kB / 0.73 GB, free: 7.031 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002355/0.3938, allocations: 117.5 kB / 0.7301 GB, free: 6.891 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002192/0.394, allocations: 0.6768 MB / 0.7308 GB, free: 6.188 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.089e-05/0.394, allocations: 4 kB / 0.7308 GB, free: 6.184 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.642e-05/0.394, allocations: 7.438 kB / 0.7308 GB, free: 6.176 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.394, allocations: 0 / 0.7308 GB, free: 6.176 MB / 0.545 GB Notification: Performance of Templates: time 0.00255/0.3966, allocations: 0.718 MB / 0.7315 GB, free: 5.461 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)