Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001247/0.001247, allocations: 108 kB / 15.6 MB, free: 132 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.00134/0.00134, allocations: 200.2 kB / 16.54 MB, free: 6.672 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.622/1.622, allocations: 205.1 MB / 222.4 MB, free: 4.609 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6408/0.6408, allocations: 95.47 MB / 365.2 MB, free: 9.898 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002434/0.002434, allocations: 67.91 kB / 445.4 MB, free: 9.605 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3658/0.3683, allocations: 69.08 MB / 0.5024 GB, free: 17.36 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001961/0.3703, allocations: 0.5485 MB / 0.5029 GB, free: 16.81 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000544/0.3708, allocations: 254.1 kB / 0.5032 GB, free: 16.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.925e-05/0.3709, allocations: 0 / 0.5032 GB, free: 16.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.619e-05/0.3709, allocations: 3.938 kB / 0.5032 GB, free: 16.56 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.918e-05/0.371, allocations: 4 kB / 0.5032 GB, free: 16.56 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004346/0.3714, allocations: 71.8 kB / 0.5032 GB, free: 16.49 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.804e-05/0.3715, allocations: 15.92 kB / 0.5032 GB, free: 16.47 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.751e-05/0.3715, allocations: 4 kB / 0.5033 GB, free: 16.47 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.125e-05/0.3715, allocations: 4 kB / 0.5033 GB, free: 16.46 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.593e-05/0.3716, allocations: 11.92 kB / 0.5033 GB, free: 16.45 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/0.3716, allocations: 0 / 0.5033 GB, free: 16.45 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001807/0.3718, allocations: 115.9 kB / 0.5034 GB, free: 16.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.15e-05/0.3718, allocations: 0 / 0.5034 GB, free: 16.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.932e-05/0.3718, allocations: 8 kB / 0.5034 GB, free: 16.33 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001508/0.372, allocations: 67.83 kB / 0.5035 GB, free: 16.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.372, allocations: 4 kB / 0.5035 GB, free: 16.26 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.372, allocations: 4 kB / 0.5035 GB, free: 16.26 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.372, allocations: 0 / 0.5035 GB, free: 16.26 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003256/0.3724, allocations: 335.5 kB / 0.5038 GB, free: 15.88 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.3724, allocations: 11.98 kB / 0.5038 GB, free: 15.87 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.791e-05/0.3725, allocations: 8.922 kB / 0.5038 GB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.909e-05/0.3725, allocations: 160.4 kB / 0.504 GB, free: 15.67 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.3726, allocations: 4.312 kB / 0.504 GB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.789e-05/0.3726, allocations: 7.938 kB / 0.504 GB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001206/0.3727, allocations: 37.7 kB / 0.504 GB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.3727, allocations: 3.984 kB / 0.504 GB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.3728, allocations: 3.938 kB / 0.504 GB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.3728, allocations: 0 / 0.504 GB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.314e-05/0.3728, allocations: 4 kB / 0.504 GB, free: 15.6 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001524/0.373, allocations: 151.6 kB / 0.5042 GB, free: 15.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.119e-05/0.373, allocations: 26.55 kB / 0.5042 GB, free: 15.37 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.905e-05/0.373, allocations: 4.859 kB / 0.5042 GB, free: 15.36 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007016/0.3738, allocations: 457.5 kB / 0.5046 GB, free: 14.82 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/0.3738, allocations: 34.56 kB / 0.5047 GB, free: 14.78 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.3738, allocations: 0 / 0.5047 GB, free: 14.78 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.001184/0.375, allocations: 436 kB / 0.5051 GB, free: 14.28 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.601e-05/0.375, allocations: 51.41 kB / 0.5051 GB, free: 14.22 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.215e-05/0.3751, allocations: 97.84 kB / 0.5052 GB, free: 14.11 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.082e-05/0.3751, allocations: 33.92 kB / 0.5052 GB, free: 14.07 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.204e-05/0.3751, allocations: 80.14 kB / 0.5053 GB, free: 13.99 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.612e-05/0.3752, allocations: 11.84 kB / 0.5053 GB, free: 13.98 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.134e-05/0.3752, allocations: 17.72 kB / 0.5053 GB, free: 13.96 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.515e-05/0.3753, allocations: 314.8 kB / 0.5056 GB, free: 13.64 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.856e-05/0.3753, allocations: 4 kB / 0.5057 GB, free: 13.64 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.642e-05/0.3753, allocations: 25.75 kB / 0.5057 GB, free: 13.61 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.77e-05/0.3754, allocations: 37.64 kB / 0.5057 GB, free: 13.56 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3754, allocations: 3.938 kB / 0.5057 GB, free: 13.56 MB / 382.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.282e-05/0.3755, allocations: 53.61 kB / 0.5058 GB, free: 13.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.3755, allocations: 4 kB / 0.5058 GB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.3755, allocations: 0 / 0.5058 GB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/0.3755, allocations: 7.984 kB / 0.5058 GB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.169e-05/0.3756, allocations: 7.938 kB / 0.5058 GB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.3756, allocations: 4 kB / 0.5058 GB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.637e-05/0.3756, allocations: 4.062 kB / 0.5058 GB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.3756, allocations: 4 kB / 0.5058 GB, free: 13.47 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.129e-05/0.3757, allocations: 113.8 kB / 0.5059 GB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.548e-06/0.3757, allocations: 0 / 0.5059 GB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000145/0.3759, allocations: 73.17 kB / 0.506 GB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-06/0.3759, allocations: 4 kB / 0.506 GB, free: 13.26 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.3759, allocations: 0 / 0.506 GB, free: 13.26 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.3759, allocations: 3.938 kB / 0.506 GB, free: 13.26 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.717e-05/0.376, allocations: 161.6 kB / 0.5061 GB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.376, allocations: 0 / 0.5061 GB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.501e-05/0.376, allocations: 15.92 kB / 0.5062 GB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.376, allocations: 0 / 0.5062 GB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.243e-06/0.3761, allocations: 0 / 0.5062 GB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.3761, allocations: 0 / 0.5062 GB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.3761, allocations: 0 / 0.5062 GB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001421/0.3762, allocations: 105 kB / 0.5063 GB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.638e-05/0.3762, allocations: 89.03 kB / 0.5063 GB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.3763, allocations: 0 / 0.5063 GB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.491e-05/0.3763, allocations: 4.125 kB / 0.5063 GB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.918e-05/0.3763, allocations: 4 kB / 0.5063 GB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.3763, allocations: 0 / 0.5063 GB, free: 12.8 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.056e-05/0.3764, allocations: 79.28 kB / 0.5064 GB, free: 12.72 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.72e-07/0.3764, allocations: 0 / 0.5064 GB, free: 12.72 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002351/0.3766, allocations: 48.08 kB / 0.5065 GB, free: 12.68 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (5): * Single equations (assignments): 5 * 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.0002368/0.3769, allocations: 131.2 kB / 0.5066 GB, free: 12.54 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00011/0.377, allocations: 27.98 kB / 0.5066 GB, free: 12.51 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.377, allocations: 0 / 0.5066 GB, free: 12.51 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.341e-05/0.377, allocations: 23.92 kB / 0.5066 GB, free: 12.49 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000165/0.3772, allocations: 3.938 kB / 0.5066 GB, free: 12.48 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002243/0.3774, allocations: 128.7 kB / 0.5068 GB, free: 12.34 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001154/0.3775, allocations: 0.6807 MB / 0.5074 GB, free: 11.63 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.313e-05/0.3776, allocations: 4 kB / 0.5074 GB, free: 11.62 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.037e-05/0.3776, allocations: 11.44 kB / 0.5074 GB, free: 11.61 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3776, allocations: 0 / 0.5074 GB, free: 11.61 MB / 382.1 MB Notification: Performance of Templates: time 0.003393/0.381, allocations: 1.353 MB / 0.5088 GB, free: 10.28 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)