Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008963/0.0008962, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.0009134/0.0009136, allocations: 195.7 kB / 16.26 MB, free: 6.621 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.162/1.162, allocations: 205.1 MB / 222.1 MB, free: 4.691 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.303/1.303, allocations: 251.7 MB / 0.5089 GB, free: 3.277 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.001236/0.001236, allocations: 67.91 kB / 0.6218 GB, free: 1.855 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3998/0.4011, allocations: 104.7 MB / 0.724 GB, free: 13.1 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001752/0.4029, allocations: 0.683 MB / 0.7247 GB, free: 12.41 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0005899/0.4035, allocations: 349.7 kB / 0.725 GB, free: 12.07 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.567e-05/0.4035, allocations: 0 / 0.725 GB, free: 12.07 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.657e-05/0.4035, allocations: 3.938 kB / 0.725 GB, free: 12.07 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.207e-05/0.4035, allocations: 0 / 0.725 GB, free: 12.07 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003981/0.4039, allocations: 99.69 kB / 0.7251 GB, free: 11.97 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.59e-05/0.404, allocations: 23.98 kB / 0.7251 GB, free: 11.95 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.649e-05/0.4041, allocations: 11.98 kB / 0.7251 GB, free: 11.93 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.596e-05/0.4041, allocations: 15.86 kB / 0.7252 GB, free: 11.92 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.603e-05/0.4041, allocations: 15.92 kB / 0.7252 GB, free: 11.9 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.104e-05/0.4042, allocations: 0 / 0.7252 GB, free: 11.9 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003271/0.4045, allocations: 275.7 kB / 0.7254 GB, free: 11.63 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.299e-05/0.4045, allocations: 11.92 kB / 0.7254 GB, free: 11.62 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.45e-05/0.4045, allocations: 11.92 kB / 0.7255 GB, free: 11.61 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001653/0.4047, allocations: 95.78 kB / 0.7255 GB, free: 11.52 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.4047, allocations: 0 / 0.7255 GB, free: 11.52 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.242e-06/0.4047, allocations: 0 / 0.7255 GB, free: 11.52 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.4047, allocations: 4 kB / 0.7255 GB, free: 11.51 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004453/0.4052, allocations: 365.4 kB / 0.7259 GB, free: 11.11 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.4052, allocations: 8.031 kB / 0.7259 GB, free: 11.1 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.72e-05/0.4053, allocations: 8.844 kB / 0.7259 GB, free: 11.09 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.4054, allocations: 168.3 kB / 0.7261 GB, free: 10.89 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.4054, allocations: 4.375 kB / 0.7261 GB, free: 10.88 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.907e-05/0.4055, allocations: 12.31 kB / 0.7261 GB, free: 10.87 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001034/0.4056, allocations: 50.22 kB / 0.7261 GB, free: 10.82 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.864e-06/0.4056, allocations: 192 / 0.7261 GB, free: 10.82 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.4056, allocations: 11.94 kB / 0.7261 GB, free: 10.8 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.4056, allocations: 3.938 kB / 0.7262 GB, free: 10.8 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.339e-05/0.4057, allocations: 19.98 kB / 0.7262 GB, free: 10.78 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001503/0.4058, allocations: 161.7 kB / 0.7263 GB, free: 10.57 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.849e-05/0.4059, allocations: 54.56 kB / 0.7264 GB, free: 10.51 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.858e-05/0.406, allocations: 28.84 kB / 0.7264 GB, free: 10.48 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006196/0.4066, allocations: 461.5 kB / 0.7268 GB, free: 9.938 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.342e-05/0.4066, allocations: 34.56 kB / 0.7269 GB, free: 9.895 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.4066, allocations: 3.938 kB / 0.7269 GB, free: 9.891 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.00111/0.4078, allocations: 0.5994 MB / 0.7275 GB, free: 9.199 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.817e-05/0.4078, allocations: 51.41 kB / 0.7275 GB, free: 9.137 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.739e-05/0.4078, allocations: 97.86 kB / 0.7276 GB, free: 9.031 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.4079, allocations: 25.7 kB / 0.7276 GB, free: 9 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.546e-05/0.4079, allocations: 88.14 kB / 0.7277 GB, free: 8.91 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.451e-05/0.4079, allocations: 39.45 kB / 0.7278 GB, free: 8.871 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.386e-05/0.408, allocations: 25.7 kB / 0.7278 GB, free: 8.84 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 7.407e-05/0.4081, allocations: 314.8 kB / 0.7281 GB, free: 8.523 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.579e-05/0.4081, allocations: 23.98 kB / 0.7281 GB, free: 8.5 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.143e-05/0.4081, allocations: 23.98 kB / 0.7281 GB, free: 8.477 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.467e-05/0.4082, allocations: 56.98 kB / 0.7282 GB, free: 8.422 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-07/0.4082, allocations: 0 / 0.7282 GB, free: 8.422 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001283/0.4083, allocations: 105.5 kB / 0.7283 GB, free: 8.312 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.4084, allocations: 4 kB / 0.7283 GB, free: 8.309 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.4084, allocations: 7.984 kB / 0.7283 GB, free: 8.301 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.896e-06/0.4084, allocations: 0 / 0.7283 GB, free: 8.301 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.928e-05/0.4085, allocations: 20 kB / 0.7283 GB, free: 8.281 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.4085, allocations: 0 / 0.7283 GB, free: 8.281 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.12e-05/0.4085, allocations: 4.188 kB / 0.7283 GB, free: 8.277 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.774e-06/0.4085, allocations: 3.984 kB / 0.7283 GB, free: 8.273 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 (13): * Single equations (assignments): 13 * 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 7.031e-05/0.4086, allocations: 121.8 kB / 0.7284 GB, free: 8.145 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.583e-05/0.4086, allocations: 15.92 kB / 0.7285 GB, free: 8.129 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000168/0.4088, allocations: 105.6 kB / 0.7286 GB, free: 8.016 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.4088, allocations: 4 kB / 0.7286 GB, free: 8.012 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.4088, allocations: 4 kB / 0.7286 GB, free: 8.008 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.4088, allocations: 3.984 kB / 0.7286 GB, free: 8.004 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003403/0.4092, allocations: 358.4 kB / 0.7289 GB, free: 7.598 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.4092, allocations: 0 / 0.7289 GB, free: 7.598 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.441e-05/0.4093, allocations: 16 kB / 0.7289 GB, free: 7.582 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.4093, allocations: 0 / 0.7289 GB, free: 7.582 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.4093, allocations: 12 kB / 0.7289 GB, free: 7.57 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.4093, allocations: 0 / 0.7289 GB, free: 7.57 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.4093, allocations: 0 / 0.7289 GB, free: 7.57 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002264/0.4096, allocations: 219.3 kB / 0.7291 GB, free: 7.34 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.194e-05/0.4096, allocations: 89.03 kB / 0.7292 GB, free: 7.234 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/0.4096, allocations: 8 kB / 0.7292 GB, free: 7.227 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.496e-05/0.4097, allocations: 3.938 kB / 0.7292 GB, free: 7.223 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.807e-05/0.4097, allocations: 7.984 kB / 0.7292 GB, free: 7.215 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.145e-06/0.4097, allocations: 12.06 kB / 0.7293 GB, free: 7.203 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.045e-05/0.4098, allocations: 75.28 kB / 0.7293 GB, free: 7.129 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4098, allocations: 0 / 0.7293 GB, free: 7.129 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002439/0.41, allocations: 43.98 kB / 0.7294 GB, free: 7.086 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.0002039/0.4102, allocations: 139.2 kB / 0.7295 GB, free: 6.941 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000129/0.4104, allocations: 76.28 kB / 0.7296 GB, free: 6.867 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4104, allocations: 0 / 0.7296 GB, free: 6.867 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.045e-05/0.4104, allocations: 31.94 kB / 0.7296 GB, free: 6.836 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001945/0.4106, allocations: 8.219 kB / 0.7296 GB, free: 6.828 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003055/0.4109, allocations: 198 kB / 0.7298 GB, free: 6.609 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002561/0.4112, allocations: 0.6845 MB / 0.7305 GB, free: 5.898 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.986e-05/0.4113, allocations: 19.92 kB / 0.7305 GB, free: 5.879 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.211e-05/0.4113, allocations: 11.44 kB / 0.7305 GB, free: 5.867 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.4113, allocations: 0 / 0.7305 GB, free: 5.867 MB / 0.545 GB Notification: Performance of Templates: time 0.003019/0.4143, allocations: 1.393 MB / 0.7319 GB, free: 4.508 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)