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.001301/0.001301, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001757/0.001758, allocations: 191.2 kB / 16.13 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.582/1.582, allocations: 205.1 MB / 222 MB, free: 4.773 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.6106/0.6106, allocations: 95.48 MB / 364.8 MB, free: 10.1 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.001248/0.001248, allocations: 67.91 kB / 444.7 MB, free: 10.08 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3577/0.359, allocations: 69.08 MB / 0.5017 GB, free: 17.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.002067/0.3611, allocations: 0.6055 MB / 0.5023 GB, free: 17.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006754/0.3618, allocations: 278.1 kB / 0.5026 GB, free: 16.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.818e-05/0.3618, allocations: 0 / 0.5026 GB, free: 16.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.082e-05/0.3619, allocations: 0 / 0.5026 GB, free: 16.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.332e-05/0.3619, allocations: 0 / 0.5026 GB, free: 16.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003764/0.3623, allocations: 51.88 kB / 0.5026 GB, free: 16.7 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.564e-05/0.3624, allocations: 8 kB / 0.5026 GB, free: 16.69 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.527e-05/0.3624, allocations: 7.938 kB / 0.5026 GB, free: 16.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.85e-05/0.3624, allocations: 0 / 0.5026 GB, free: 16.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.434e-05/0.3625, allocations: 15.91 kB / 0.5026 GB, free: 16.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.037e-05/0.3625, allocations: 0 / 0.5026 GB, free: 16.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001689/0.3627, allocations: 115.9 kB / 0.5028 GB, free: 16.55 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.48e-05/0.3627, allocations: 7.984 kB / 0.5028 GB, free: 16.54 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.83e-05/0.3627, allocations: 4 kB / 0.5028 GB, free: 16.54 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001413/0.3629, allocations: 71.84 kB / 0.5028 GB, free: 16.47 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.3629, allocations: 0 / 0.5028 GB, free: 16.47 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.3629, allocations: 0 / 0.5028 GB, free: 16.47 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.3629, allocations: 3.938 kB / 0.5028 GB, free: 16.46 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.0002949/0.3632, allocations: 331.5 kB / 0.5032 GB, free: 16.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.3633, allocations: 11.98 kB / 0.5032 GB, free: 16.08 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.59e-05/0.3633, allocations: 4.938 kB / 0.5032 GB, free: 16.08 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.232e-05/0.3634, allocations: 160.4 kB / 0.5033 GB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.3634, allocations: 4.375 kB / 0.5033 GB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.941e-05/0.3634, allocations: 11.94 kB / 0.5033 GB, free: 15.87 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.483e-05/0.3635, allocations: 37.69 kB / 0.5034 GB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.583e-06/0.3635, allocations: 0 / 0.5034 GB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.3636, allocations: 0 / 0.5034 GB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.3636, allocations: 0 / 0.5034 GB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.06e-05/0.3636, allocations: 7.938 kB / 0.5034 GB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001228/0.3637, allocations: 155.6 kB / 0.5035 GB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.676e-05/0.3638, allocations: 30.55 kB / 0.5036 GB, free: 15.58 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.468e-05/0.3638, allocations: 4.859 kB / 0.5036 GB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000643/0.3645, allocations: 461.5 kB / 0.504 GB, free: 15.03 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.3645, allocations: 30.56 kB / 0.504 GB, free: 14.99 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.914e-06/0.3645, allocations: 0 / 0.504 GB, free: 14.99 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.001229/0.3657, allocations: 448 kB / 0.5045 GB, free: 14.48 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.511e-05/0.3658, allocations: 51.41 kB / 0.5045 GB, free: 14.41 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.678e-05/0.3658, allocations: 102 kB / 0.5046 GB, free: 14.3 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.255e-06/0.3658, allocations: 25.7 kB / 0.5046 GB, free: 14.27 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.538e-05/0.3659, allocations: 80.14 kB / 0.5047 GB, free: 14.19 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.079e-05/0.3659, allocations: 15.83 kB / 0.5047 GB, free: 14.18 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.666e-05/0.3659, allocations: 17.72 kB / 0.5047 GB, free: 14.15 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.627e-05/0.366, allocations: 310.8 kB / 0.505 GB, free: 13.84 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.822e-05/0.366, allocations: 4 kB / 0.505 GB, free: 13.84 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.478e-05/0.366, allocations: 29.83 kB / 0.5051 GB, free: 13.8 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.571e-05/0.3661, allocations: 25.66 kB / 0.5051 GB, free: 13.77 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.3661, allocations: 3.938 kB / 0.5051 GB, free: 13.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.881e-05/0.3662, allocations: 57.59 kB / 0.5052 GB, free: 13.7 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.3662, allocations: 4 kB / 0.5052 GB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.3662, allocations: 0 / 0.5052 GB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.3662, allocations: 4 kB / 0.5052 GB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.25e-05/0.3663, allocations: 8.062 kB / 0.5052 GB, free: 13.69 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.3663, allocations: 7.938 kB / 0.5052 GB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.702e-05/0.3663, allocations: 4 kB / 0.5052 GB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.3664, allocations: 0 / 0.5052 GB, free: 13.68 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 7.013e-05/0.3664, allocations: 117.8 kB / 0.5053 GB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.979e-06/0.3664, allocations: 0 / 0.5053 GB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001439/0.3666, allocations: 73.19 kB / 0.5054 GB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.3666, allocations: 3.938 kB / 0.5054 GB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.3666, allocations: 0 / 0.5054 GB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.3666, allocations: 4.125 kB / 0.5054 GB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.273e-05/0.3667, allocations: 161.6 kB / 0.5055 GB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3667, allocations: 3.984 kB / 0.5055 GB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.629e-05/0.3668, allocations: 15.88 kB / 0.5055 GB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.3668, allocations: 0 / 0.5055 GB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.3668, allocations: 4.062 kB / 0.5055 GB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3668, allocations: 0 / 0.5055 GB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3668, allocations: 4 kB / 0.5056 GB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001301/0.3669, allocations: 101 kB / 0.5056 GB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.085e-05/0.367, allocations: 85.05 kB / 0.5057 GB, free: 13.01 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.308e-05/0.367, allocations: 0 / 0.5057 GB, free: 13.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.513e-05/0.367, allocations: 0 / 0.5057 GB, free: 13.01 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.716e-05/0.3671, allocations: 7.984 kB / 0.5057 GB, free: 13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/0.3671, allocations: 0 / 0.5057 GB, free: 13 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.279e-05/0.3671, allocations: 87.34 kB / 0.5058 GB, free: 12.91 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3671, allocations: 0 / 0.5058 GB, free: 12.91 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002271/0.3673, allocations: 32 kB / 0.5059 GB, free: 12.88 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.0002171/0.3675, allocations: 143.1 kB / 0.506 GB, free: 12.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001247/0.3677, allocations: 23.98 kB / 0.506 GB, free: 12.71 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3677, allocations: 0 / 0.506 GB, free: 12.71 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.487e-05/0.3678, allocations: 16 kB / 0.506 GB, free: 12.7 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001654/0.3679, allocations: 4.156 kB / 0.506 GB, free: 12.69 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002431/0.3682, allocations: 135.4 kB / 0.5062 GB, free: 12.53 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001146/0.3683, allocations: 0.677 MB / 0.5068 GB, free: 11.83 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.511e-05/0.3683, allocations: 4 kB / 0.5068 GB, free: 11.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.865e-05/0.3684, allocations: 11.44 kB / 0.5068 GB, free: 11.81 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3684, allocations: 4 kB / 0.5068 GB, free: 11.81 MB / 382.1 MB Notification: Performance of Templates: time 0.003574/0.372, allocations: 1.331 MB / 0.5081 GB, free: 10.5 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)