Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.RegNonZeroPowerDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 91.38 kB / 15.06 MB, free: 1.098 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.001256/0.001256, allocations: 172.7 kB / 15.95 MB, free: 208 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.932/1.932, allocations: 205.4 MB / 222.1 MB, free: 5.523 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.6775/0.6775, allocations: 95.63 MB / 366 MB, free: 10.32 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.0008744/0.0008744, allocations: 20 kB / 446.9 MB, free: 9.297 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4413/0.4422, allocations: 70.33 MB / 0.5051 GB, free: 16.45 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.0006667/0.4429, allocations: 281 kB / 0.5053 GB, free: 16.17 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005551/0.4435, allocations: 298.3 kB / 0.5056 GB, free: 15.88 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.229e-05/0.4435, allocations: 3.938 kB / 0.5056 GB, free: 15.88 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.374e-05/0.4436, allocations: 3.938 kB / 0.5056 GB, free: 15.88 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.912e-05/0.4436, allocations: 4 kB / 0.5056 GB, free: 15.87 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003649/0.444, allocations: 71.72 kB / 0.5057 GB, free: 15.8 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.137e-05/0.444, allocations: 7.984 kB / 0.5057 GB, free: 15.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.71e-05/0.4441, allocations: 0 / 0.5057 GB, free: 15.8 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.959e-05/0.4441, allocations: 4 kB / 0.5057 GB, free: 15.79 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.225e-05/0.4442, allocations: 7.938 kB / 0.5057 GB, free: 15.79 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.349e-05/0.4442, allocations: 0 / 0.5057 GB, free: 15.79 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002988/0.4445, allocations: 231.7 kB / 0.5059 GB, free: 15.56 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.687e-06/0.4445, allocations: 4 kB / 0.506 GB, free: 15.55 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.259e-05/0.4445, allocations: 25.7 kB / 0.506 GB, free: 15.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001251/0.4447, allocations: 63.91 kB / 0.506 GB, free: 15.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.4447, allocations: 0 / 0.506 GB, free: 15.46 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.4447, allocations: 0 / 0.506 GB, free: 15.46 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.4447, allocations: 0 / 0.506 GB, free: 15.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.0003549/0.4451, allocations: 339.3 kB / 0.5064 GB, free: 15.08 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/0.4451, allocations: 11.98 kB / 0.5064 GB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.983e-05/0.4452, allocations: 4 kB / 0.5064 GB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.4453, allocations: 171 kB / 0.5065 GB, free: 14.86 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.4454, allocations: 0 / 0.5065 GB, free: 14.86 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.602e-05/0.4454, allocations: 7.938 kB / 0.5065 GB, free: 14.85 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001079/0.4455, allocations: 33.66 kB / 0.5066 GB, free: 14.81 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.4455, allocations: 0 / 0.5066 GB, free: 14.81 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.4455, allocations: 0 / 0.5066 GB, free: 14.81 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.4455, allocations: 0 / 0.5066 GB, free: 14.81 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.127e-05/0.4456, allocations: 4 kB / 0.5066 GB, free: 14.81 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001669/0.4457, allocations: 151.6 kB / 0.5067 GB, free: 14.61 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.29e-05/0.4458, allocations: 26.61 kB / 0.5068 GB, free: 14.58 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.691e-05/0.4458, allocations: 20.78 kB / 0.5068 GB, free: 14.55 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006279/0.4465, allocations: 457.5 kB / 0.5072 GB, free: 14.02 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.4465, allocations: 38.52 kB / 0.5072 GB, free: 13.97 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.4465, allocations: 0 / 0.5072 GB, free: 13.97 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005416/0.4471, allocations: 250.3 kB / 0.5075 GB, free: 13.67 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.116e-05/0.4471, allocations: 51.41 kB / 0.5075 GB, free: 13.61 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.171e-05/0.4472, allocations: 106.1 kB / 0.5076 GB, free: 13.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.538e-06/0.4472, allocations: 25.7 kB / 0.5077 GB, free: 13.46 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.102e-05/0.4472, allocations: 80.14 kB / 0.5077 GB, free: 13.38 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.196e-05/0.4472, allocations: 11.83 kB / 0.5077 GB, free: 13.37 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-06/0.4472, allocations: 0 / 0.5077 GB, free: 13.37 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.908e-05/0.4473, allocations: 318.8 kB / 0.508 GB, free: 13.05 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.394e-05/0.4473, allocations: 0 / 0.508 GB, free: 13.05 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.274e-05/0.4473, allocations: 21.83 kB / 0.5081 GB, free: 13.02 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.18e-05/0.4474, allocations: 12 kB / 0.5081 GB, free: 13.01 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.4474, allocations: 0 / 0.5081 GB, free: 13.01 MB / 382.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.972e-05/0.4475, allocations: 53.62 kB / 0.5081 GB, free: 12.95 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.4475, allocations: 7.953 kB / 0.5081 GB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.4475, allocations: 0 / 0.5081 GB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.4475, allocations: 4 kB / 0.5081 GB, free: 12.94 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.344e-05/0.4476, allocations: 8 kB / 0.5082 GB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.4476, allocations: 3.984 kB / 0.5082 GB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.597e-05/0.4476, allocations: 4.062 kB / 0.5082 GB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.4476, allocations: 4 kB / 0.5082 GB, free: 12.92 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.068e-05/0.4477, allocations: 113.8 kB / 0.5083 GB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.488e-05/0.4477, allocations: 11.89 kB / 0.5083 GB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001053/0.4478, allocations: 53.14 kB / 0.5083 GB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.4478, allocations: 3.938 kB / 0.5083 GB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.4478, allocations: 0 / 0.5083 GB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.4479, allocations: 0 / 0.5083 GB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.036e-05/0.4479, allocations: 157.7 kB / 0.5085 GB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.4479, allocations: 0 / 0.5085 GB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.216e-05/0.448, allocations: 4.188 kB / 0.5085 GB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.448, allocations: 0 / 0.5085 GB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.448, allocations: 7.938 kB / 0.5085 GB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.448, allocations: 3.953 kB / 0.5085 GB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.448, allocations: 7.922 kB / 0.5085 GB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000117/0.4481, allocations: 77.11 kB / 0.5086 GB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.698e-05/0.4482, allocations: 81.17 kB / 0.5087 GB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.297e-05/0.4482, allocations: 0 / 0.5087 GB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.27e-05/0.4482, allocations: 4.031 kB / 0.5087 GB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.245e-05/0.4482, allocations: 3.953 kB / 0.5087 GB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.4483, allocations: 3.984 kB / 0.5087 GB, free: 12.29 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.944e-05/0.4483, allocations: 83.28 kB / 0.5088 GB, free: 12.21 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4483, allocations: 0 / 0.5088 GB, free: 12.21 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002657/0.4486, allocations: 20 kB / 0.5088 GB, free: 12.19 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 (3): * Single equations (assignments): 3 * 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.0001646/0.4487, allocations: 127.3 kB / 0.5089 GB, free: 12.06 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.442e-05/0.4488, allocations: 19.94 kB / 0.5089 GB, free: 12.04 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.4488, allocations: 0 / 0.5089 GB, free: 12.04 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.279e-05/0.4488, allocations: 7.984 kB / 0.5089 GB, free: 12.03 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001504/0.449, allocations: 4 kB / 0.5089 GB, free: 12.03 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001993/0.4492, allocations: 108.6 kB / 0.509 GB, free: 11.89 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001004/0.4493, allocations: 0.677 MB / 0.5097 GB, free: 11.19 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.264e-05/0.4493, allocations: 4.125 kB / 0.5097 GB, free: 11.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.348e-05/0.4494, allocations: 15.42 kB / 0.5097 GB, free: 11.17 MB / 382.1 MB Notification: Performance of SimCode: time 8.42e-07/0.4494, allocations: 0 / 0.5097 GB, free: 11.17 MB / 382.1 MB Notification: Performance of Templates: time 0.00275/0.4521, allocations: 0.8268 MB / 0.5105 GB, free: 10.34 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: