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.0008369/0.000837, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.001083/0.001083, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.828/1.828, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.617/1.617, allocations: 252 MB / 0.5102 GB, free: 4.828 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.0005336/0.000534, allocations: 16 kB / 0.6243 GB, free: 1.098 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6018/0.6024, allocations: 106.3 MB / 0.7281 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.0008607/0.6033, allocations: 348.5 kB / 0.7285 GB, free: 11.08 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0006585/0.604, allocations: 322.1 kB / 0.7288 GB, free: 10.77 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.546e-05/0.604, allocations: 0 / 0.7288 GB, free: 10.77 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.244e-05/0.604, allocations: 4 kB / 0.7288 GB, free: 10.77 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.973e-05/0.6041, allocations: 3.938 kB / 0.7288 GB, free: 10.76 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004147/0.6045, allocations: 79.78 kB / 0.7289 GB, free: 10.68 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.579e-05/0.6046, allocations: 23.92 kB / 0.7289 GB, free: 10.66 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.902e-05/0.6046, allocations: 0 / 0.7289 GB, free: 10.66 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.861e-05/0.6047, allocations: 15.92 kB / 0.7289 GB, free: 10.64 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.752e-05/0.6047, allocations: 11.92 kB / 0.7289 GB, free: 10.63 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.6047, allocations: 4 kB / 0.7289 GB, free: 10.63 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005266/0.6053, allocations: 271.6 kB / 0.7292 GB, free: 10.36 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.65e-05/0.6053, allocations: 8 kB / 0.7292 GB, free: 10.36 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.488e-05/0.6053, allocations: 25.7 kB / 0.7292 GB, free: 10.32 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001331/0.6055, allocations: 63.89 kB / 0.7293 GB, free: 10.26 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.6055, allocations: 0 / 0.7293 GB, free: 10.26 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.362e-06/0.6055, allocations: 0 / 0.7293 GB, free: 10.26 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.6055, allocations: 0 / 0.7293 GB, free: 10.26 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.0004518/0.606, allocations: 353.3 kB / 0.7296 GB, free: 9.871 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.606, allocations: 8.031 kB / 0.7296 GB, free: 9.863 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.206e-05/0.6061, allocations: 8 kB / 0.7296 GB, free: 9.855 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001667/0.6063, allocations: 174.8 kB / 0.7298 GB, free: 9.645 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.6063, allocations: 0 / 0.7298 GB, free: 9.645 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.424e-05/0.6063, allocations: 4 kB / 0.7298 GB, free: 9.641 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/0.6065, allocations: 53.67 kB / 0.7299 GB, free: 9.582 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.6065, allocations: 0 / 0.7299 GB, free: 9.582 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.6065, allocations: 0 / 0.7299 GB, free: 9.582 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.6065, allocations: 0 / 0.7299 GB, free: 9.582 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.927e-05/0.6066, allocations: 23.97 kB / 0.7299 GB, free: 9.559 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002166/0.6068, allocations: 169.6 kB / 0.73 GB, free: 9.344 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.6069, allocations: 62.48 kB / 0.7301 GB, free: 9.273 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.713e-05/0.607, allocations: 32.84 kB / 0.7301 GB, free: 9.238 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007889/0.6078, allocations: 457.5 kB / 0.7306 GB, free: 8.699 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.318e-05/0.6078, allocations: 34.55 kB / 0.7306 GB, free: 8.656 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.463e-06/0.6078, allocations: 3.938 kB / 0.7306 GB, free: 8.652 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.001312/0.6092, allocations: 0.5918 MB / 0.7312 GB, free: 7.969 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.614e-05/0.6092, allocations: 55.41 kB / 0.7312 GB, free: 7.902 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.658e-05/0.6093, allocations: 93.86 kB / 0.7313 GB, free: 7.801 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.6093, allocations: 29.7 kB / 0.7313 GB, free: 7.766 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.395e-05/0.6094, allocations: 80.14 kB / 0.7314 GB, free: 7.684 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.518e-05/0.6094, allocations: 39.39 kB / 0.7315 GB, free: 7.645 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.414e-06/0.6094, allocations: 7.938 kB / 0.7315 GB, free: 7.637 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.6096, allocations: 330.8 kB / 0.7318 GB, free: 7.305 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.192e-05/0.6096, allocations: 24 kB / 0.7318 GB, free: 7.281 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.69e-05/0.6097, allocations: 25.8 kB / 0.7318 GB, free: 7.258 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.686e-05/0.6097, allocations: 24 kB / 0.7319 GB, free: 7.234 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.72e-07/0.6097, allocations: 0 / 0.7319 GB, free: 7.234 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000157/0.6099, allocations: 85.69 kB / 0.7319 GB, free: 7.145 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.6099, allocations: 8 kB / 0.7319 GB, free: 7.137 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.6099, allocations: 0 / 0.7319 GB, free: 7.137 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.6099, allocations: 3.984 kB / 0.7319 GB, free: 7.133 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.61, allocations: 20 kB / 0.732 GB, free: 7.113 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/0.6101, allocations: 11.94 kB / 0.732 GB, free: 7.102 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.767e-05/0.6101, allocations: 0 / 0.732 GB, free: 7.102 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.505e-05/0.6101, allocations: 4 kB / 0.732 GB, free: 7.098 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001323/0.6103, allocations: 117.8 kB / 0.7321 GB, free: 6.973 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.309e-05/0.6103, allocations: 7.906 kB / 0.7321 GB, free: 6.965 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002503/0.6106, allocations: 105.7 kB / 0.7322 GB, free: 6.852 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.451e-06/0.6106, allocations: 4 kB / 0.7322 GB, free: 6.848 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.6106, allocations: 3.938 kB / 0.7322 GB, free: 6.844 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.6106, allocations: 4 kB / 0.7322 GB, free: 6.84 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004015/0.611, allocations: 350.5 kB / 0.7325 GB, free: 6.441 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.611, allocations: 4 kB / 0.7326 GB, free: 6.438 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001048/0.6112, allocations: 23.98 kB / 0.7326 GB, free: 6.414 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.6112, allocations: 0 / 0.7326 GB, free: 6.414 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/0.6112, allocations: 0 / 0.7326 GB, free: 6.414 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.6112, allocations: 7.938 kB / 0.7326 GB, free: 6.406 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.6112, allocations: 0 / 0.7326 GB, free: 6.406 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002648/0.6115, allocations: 223.3 kB / 0.7328 GB, free: 6.172 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.485e-05/0.6115, allocations: 89.03 kB / 0.7329 GB, free: 6.066 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.6116, allocations: 4 kB / 0.7329 GB, free: 6.062 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.429e-05/0.6116, allocations: 4 kB / 0.7329 GB, free: 6.059 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.867e-05/0.6117, allocations: 7.984 kB / 0.7329 GB, free: 6.051 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.6117, allocations: 4 kB / 0.7329 GB, free: 6.047 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001039/0.6118, allocations: 79.47 kB / 0.733 GB, free: 5.969 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6118, allocations: 0 / 0.733 GB, free: 5.969 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002729/0.6121, allocations: 47.98 kB / 0.733 GB, free: 5.922 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 (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.0002455/0.6123, allocations: 147.3 kB / 0.7332 GB, free: 5.77 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001518/0.6125, allocations: 66.67 kB / 0.7332 GB, free: 5.707 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.6125, allocations: 0 / 0.7332 GB, free: 5.707 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.6e-05/0.6125, allocations: 31.92 kB / 0.7333 GB, free: 5.676 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002709/0.6128, allocations: 11.95 kB / 0.7333 GB, free: 5.664 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004316/0.6133, allocations: 194.8 kB / 0.7335 GB, free: 5.441 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002716/0.6135, allocations: 0.6887 MB / 0.7341 GB, free: 4.727 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.61e-05/0.6136, allocations: 11.94 kB / 0.7341 GB, free: 4.715 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.343e-05/0.6136, allocations: 11.44 kB / 0.7341 GB, free: 4.703 MB / 0.545 GB Notification: Performance of SimCode: time 4.71e-07/0.6136, allocations: 0 / 0.7341 GB, free: 4.703 MB / 0.545 GB Notification: Performance of Templates: time 0.004797/0.6184, allocations: 1.35 MB / 0.7355 GB, free: 3.383 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: