Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 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.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.005515/0.005515, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.00123/0.00123, allocations: 188.6 kB / 16.67 MB, free: 5.93 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.198/1.198, allocations: 205.1 MB / 222.5 MB, free: 12.21 MB / 190.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.251/1.251, allocations: 251.7 MB / 0.5094 GB, free: 416 kB / 430.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.001298/0.001298, allocations: 75.91 kB / 0.7258 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4848/0.4861, allocations: 104.7 MB / 0.8281 GB, free: 2.586 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001778/0.4879, allocations: 0.5949 MB / 0.8287 GB, free: 1.992 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0006849/0.4886, allocations: 340.7 kB / 0.829 GB, free: 1.66 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.323e-05/0.4887, allocations: 0 / 0.829 GB, free: 1.66 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 1.909e-05/0.4887, allocations: 3.938 kB / 0.829 GB, free: 1.656 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 3.038e-05/0.4887, allocations: 0 / 0.829 GB, free: 1.656 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004415/0.4892, allocations: 123.5 kB / 0.8291 GB, free: 1.535 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 4.898e-05/0.4892, allocations: 12 kB / 0.8291 GB, free: 1.523 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 4.504e-05/0.4893, allocations: 0 / 0.8291 GB, free: 1.523 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 1.963e-05/0.4893, allocations: 7.984 kB / 0.8291 GB, free: 1.516 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 4.927e-05/0.4894, allocations: 3.938 kB / 0.8291 GB, free: 1.512 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 9.829e-06/0.4894, allocations: 0 / 0.8291 GB, free: 1.512 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000342/0.4897, allocations: 275.7 kB / 0.8294 GB, free: 1.242 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 1.193e-05/0.4897, allocations: 3.984 kB / 0.8294 GB, free: 1.238 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 2.426e-05/0.4898, allocations: 11.98 kB / 0.8294 GB, free: 1.227 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0001555/0.4899, allocations: 91.8 kB / 0.8295 GB, free: 1.137 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.4899, allocations: 0 / 0.8295 GB, free: 1.137 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.883e-06/0.49, allocations: 0 / 0.8295 GB, free: 1.137 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.49, allocations: 0 / 0.8295 GB, free: 1.137 MB / 0.6231 GB 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.0003579/0.4903, allocations: 335.6 kB / 0.8298 GB, free: 0.7578 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.4904, allocations: 8.031 kB / 0.8298 GB, free: 0.75 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.037e-05/0.4904, allocations: 8.938 kB / 0.8298 GB, free: 0.7422 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/0.4906, allocations: 171.8 kB / 0.83 GB, free: 0.5391 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.904e-06/0.4906, allocations: 384 / 0.83 GB, free: 0.5391 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.28e-05/0.4906, allocations: 4.375 kB / 0.83 GB, free: 0.5352 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.136e-05/0.4907, allocations: 34.27 kB / 0.83 GB, free: 0.4961 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.4907, allocations: 192 / 0.83 GB, free: 0.4961 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.4908, allocations: 3.938 kB / 0.83 GB, free: 0.4922 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.4908, allocations: 0 / 0.83 GB, free: 0.4922 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.321e-05/0.4908, allocations: 3.984 kB / 0.83 GB, free: 500 kB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000174/0.491, allocations: 149.7 kB / 0.8302 GB, free: 300 kB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 4.471e-05/0.491, allocations: 30.53 kB / 0.8302 GB, free: 260 kB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.949e-05/0.4911, allocations: 12.92 kB / 0.8302 GB, free: 244 kB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006931/0.4917, allocations: 453.4 kB / 0.8307 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.4918, allocations: 38.56 kB / 0.8307 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.4918, allocations: 0 / 0.8307 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of matching and sorting (n=3): time 0.0004914/0.4923, allocations: 254.2 kB / 0.8309 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.815e-05/0.4923, allocations: 51.41 kB / 0.831 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.508e-05/0.4924, allocations: 97.84 kB / 0.8311 GB, free: 15.19 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.4924, allocations: 30.05 kB / 0.8311 GB, free: 15.15 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 3.872e-05/0.4925, allocations: 88.12 kB / 0.8312 GB, free: 15.06 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.294e-05/0.4925, allocations: 11.81 kB / 0.8312 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.914e-05/0.4925, allocations: 17.72 kB / 0.8312 GB, free: 15.03 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.4926, allocations: 314.8 kB / 0.8315 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.642e-05/0.4927, allocations: 4 kB / 0.8315 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.556e-05/0.4927, allocations: 21.66 kB / 0.8315 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.685e-05/0.4927, allocations: 33.64 kB / 0.8316 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.4927, allocations: 0 / 0.8316 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.493e-05/0.4928, allocations: 49.64 kB / 0.8316 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.4929, allocations: 11.94 kB / 0.8316 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.4929, allocations: 0 / 0.8316 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.4929, allocations: 0 / 0.8316 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.523e-05/0.4929, allocations: 11.98 kB / 0.8316 GB, free: 14.56 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.9e-06/0.493, allocations: 0 / 0.8316 GB, free: 14.56 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.654e-05/0.493, allocations: 0 / 0.8316 GB, free: 14.56 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.493, allocations: 8.062 kB / 0.8317 GB, free: 14.55 MB / 0.6387 GB 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.71e-05/0.4931, allocations: 109.8 kB / 0.8318 GB, free: 14.44 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.168e-05/0.4931, allocations: 3.938 kB / 0.8318 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001126/0.4932, allocations: 53.27 kB / 0.8318 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.4932, allocations: 8.031 kB / 0.8318 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.4932, allocations: 7.984 kB / 0.8318 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.4932, allocations: 0 / 0.8318 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001106/0.4934, allocations: 157.7 kB / 0.832 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.4934, allocations: 0 / 0.832 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.759e-05/0.4934, allocations: 4 kB / 0.832 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.4934, allocations: 3.938 kB / 0.832 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-06/0.4934, allocations: 0 / 0.832 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.4934, allocations: 3.984 kB / 0.832 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.4934, allocations: 7.938 kB / 0.832 GB, free: 14.13 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001347/0.4936, allocations: 73.12 kB / 0.8321 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 3.375e-05/0.4936, allocations: 93 kB / 0.8322 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.171e-05/0.4936, allocations: 3.938 kB / 0.8322 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.572e-05/0.4937, allocations: 8.031 kB / 0.8322 GB, free: 13.92 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.646e-05/0.4937, allocations: 0 / 0.8322 GB, free: 13.92 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.798e-06/0.4937, allocations: 0 / 0.8322 GB, free: 13.92 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 3.086e-05/0.4938, allocations: 79.28 kB / 0.8322 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4938, allocations: 0 / 0.8322 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0001953/0.494, allocations: 23.98 kB / 0.8323 GB, free: 13.82 MB / 0.6387 GB 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 (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.000186/0.4941, allocations: 130.6 kB / 0.8324 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 8.486e-05/0.4942, allocations: 16 kB / 0.8324 GB, free: 13.67 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.4943, allocations: 0 / 0.8324 GB, free: 13.67 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 1.643e-05/0.4943, allocations: 11.94 kB / 0.8324 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001277/0.4944, allocations: 11.92 kB / 0.8324 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002111/0.4946, allocations: 105.9 kB / 0.8325 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002159/0.4948, allocations: 0.6766 MB / 0.8332 GB, free: 12.81 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 2.57e-05/0.4949, allocations: 8.125 kB / 0.8332 GB, free: 12.8 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.417e-05/0.4949, allocations: 7.438 kB / 0.8332 GB, free: 12.8 MB / 0.6387 GB Notification: Performance of SimCode: time 2.6e-07/0.4949, allocations: 4 kB / 0.8332 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of Templates: time 0.002514/0.4974, allocations: 0.8723 MB / 0.8341 GB, free: 11.96 MB / 0.6387 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)