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.001568/0.001568, 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.001746/0.001746, allocations: 198.4 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.531/1.531, allocations: 205.1 MB / 222.1 MB, free: 4.703 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.5757/0.5757, allocations: 95.47 MB / 364.9 MB, free: 10.03 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.002504/0.002504, allocations: 59.91 kB / 444.9 MB, free: 9.926 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4156/0.4181, allocations: 69.07 MB / 0.5019 GB, free: 17.56 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.002021/0.4202, allocations: 0.6133 MB / 0.5025 GB, free: 16.95 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005503/0.4208, allocations: 258.1 kB / 0.5027 GB, free: 16.7 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.165e-05/0.4208, allocations: 0 / 0.5027 GB, free: 16.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.638e-05/0.4209, allocations: 0 / 0.5027 GB, free: 16.7 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.451e-05/0.4209, allocations: 0 / 0.5027 GB, free: 16.7 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003693/0.4213, allocations: 67.75 kB / 0.5028 GB, free: 16.63 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.777e-05/0.4213, allocations: 8 kB / 0.5028 GB, free: 16.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.616e-05/0.4214, allocations: 3.984 kB / 0.5028 GB, free: 16.62 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2e-05/0.4214, allocations: 4 kB / 0.5028 GB, free: 16.62 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.802e-05/0.4214, allocations: 7.938 kB / 0.5028 GB, free: 16.61 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.454e-05/0.4215, allocations: 4 kB / 0.5028 GB, free: 16.61 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001707/0.4216, allocations: 123.8 kB / 0.5029 GB, free: 16.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.077e-05/0.4217, allocations: 0 / 0.5029 GB, free: 16.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.62e-05/0.4217, allocations: 7.938 kB / 0.503 GB, free: 16.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001385/0.4218, allocations: 67.84 kB / 0.503 GB, free: 16.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.4218, allocations: 0 / 0.503 GB, free: 16.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.816e-06/0.4218, allocations: 8 kB / 0.503 GB, free: 16.4 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.488e-06/0.4218, allocations: 0 / 0.503 GB, free: 16.4 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.0003165/0.4222, allocations: 331.5 kB / 0.5033 GB, free: 16.03 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.4222, allocations: 11.98 kB / 0.5034 GB, free: 16.02 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.026e-05/0.4223, allocations: 4.938 kB / 0.5034 GB, free: 16.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.188e-05/0.4224, allocations: 164.4 kB / 0.5035 GB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.4224, allocations: 384 / 0.5035 GB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.39e-05/0.4224, allocations: 7.875 kB / 0.5035 GB, free: 15.81 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.119e-05/0.4225, allocations: 33.7 kB / 0.5036 GB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.142e-06/0.4225, allocations: 4 kB / 0.5036 GB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.4225, allocations: 3.984 kB / 0.5036 GB, free: 15.76 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.4225, allocations: 0 / 0.5036 GB, free: 15.76 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.445e-05/0.4226, allocations: 11.98 kB / 0.5036 GB, free: 15.75 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000126/0.4227, allocations: 147.7 kB / 0.5037 GB, free: 15.56 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.262e-05/0.4227, allocations: 30.53 kB / 0.5037 GB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.82e-05/0.4228, allocations: 12.86 kB / 0.5038 GB, free: 15.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006359/0.4234, allocations: 453.5 kB / 0.5042 GB, free: 14.97 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.4234, allocations: 34.56 kB / 0.5042 GB, free: 14.93 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.4235, allocations: 3.938 kB / 0.5042 GB, free: 14.92 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.001361/0.4248, allocations: 440.2 kB / 0.5046 GB, free: 14.42 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/0.4249, allocations: 51.41 kB / 0.5047 GB, free: 14.36 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.639e-05/0.4249, allocations: 93.86 kB / 0.5048 GB, free: 14.25 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.425, allocations: 33.91 kB / 0.5048 GB, free: 14.21 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.228e-05/0.425, allocations: 80.14 kB / 0.5049 GB, free: 14.13 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.505e-05/0.425, allocations: 15.84 kB / 0.5049 GB, free: 14.12 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.621e-05/0.4251, allocations: 13.72 kB / 0.5049 GB, free: 14.1 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.815e-05/0.4252, allocations: 314.8 kB / 0.5052 GB, free: 13.78 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.249e-05/0.4252, allocations: 7.984 kB / 0.5052 GB, free: 13.77 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.105e-05/0.4252, allocations: 13.72 kB / 0.5052 GB, free: 13.75 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.076e-05/0.4253, allocations: 37.66 kB / 0.5053 GB, free: 13.71 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.4253, allocations: 3.938 kB / 0.5053 GB, free: 13.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.026e-05/0.4254, allocations: 61.53 kB / 0.5053 GB, free: 13.64 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.4254, allocations: 4 kB / 0.5053 GB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.4254, allocations: 0 / 0.5053 GB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.4255, allocations: 4 kB / 0.5053 GB, free: 13.63 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.888e-05/0.4255, allocations: 7.984 kB / 0.5054 GB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.4255, allocations: 0 / 0.5054 GB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.818e-05/0.4256, allocations: 8.062 kB / 0.5054 GB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.812e-06/0.4256, allocations: 0 / 0.5054 GB, free: 13.62 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 6.704e-05/0.4257, allocations: 117.8 kB / 0.5055 GB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.191e-05/0.4257, allocations: 0 / 0.5055 GB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001428/0.4258, allocations: 73.05 kB / 0.5055 GB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.4258, allocations: 4 kB / 0.5055 GB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.4258, allocations: 7.938 kB / 0.5056 GB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.4259, allocations: 0 / 0.5056 GB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.834e-05/0.4259, allocations: 157.6 kB / 0.5057 GB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.426, allocations: 4 kB / 0.5057 GB, free: 13.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.539e-05/0.426, allocations: 11.98 kB / 0.5057 GB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.426, allocations: 0 / 0.5057 GB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.426, allocations: 4 kB / 0.5057 GB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.4261, allocations: 0 / 0.5057 GB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.4261, allocations: 64 / 0.5057 GB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000138/0.4262, allocations: 105 kB / 0.5058 GB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.058e-05/0.4262, allocations: 85.05 kB / 0.5059 GB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/0.4262, allocations: 0 / 0.5059 GB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.674e-05/0.4263, allocations: 7.984 kB / 0.5059 GB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.729e-05/0.4263, allocations: 4 kB / 0.5059 GB, free: 12.94 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-06/0.4263, allocations: 0 / 0.5059 GB, free: 12.94 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.894e-05/0.4263, allocations: 79.28 kB / 0.506 GB, free: 12.86 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4263, allocations: 0 / 0.506 GB, free: 12.86 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002283/0.4266, allocations: 40.14 kB / 0.506 GB, free: 12.82 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.0002061/0.4268, allocations: 135.2 kB / 0.5062 GB, free: 12.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001034/0.4269, allocations: 27.92 kB / 0.5062 GB, free: 12.66 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.4269, allocations: 0 / 0.5062 GB, free: 12.66 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.089e-05/0.4269, allocations: 16 kB / 0.5062 GB, free: 12.64 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001574/0.4271, allocations: 4.688 kB / 0.5062 GB, free: 12.64 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002989/0.4274, allocations: 141.8 kB / 0.5063 GB, free: 12.47 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001671/0.4276, allocations: 0.6807 MB / 0.507 GB, free: 11.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.665e-05/0.4276, allocations: 4 kB / 0.507 GB, free: 11.76 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.173e-05/0.4277, allocations: 11.44 kB / 0.507 GB, free: 11.75 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.4277, allocations: 0 / 0.507 GB, free: 11.75 MB / 382.1 MB Notification: Performance of Templates: time 0.003641/0.4313, allocations: 1.356 MB / 0.5083 GB, free: 10.41 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)