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.0008638/0.0008637, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.008455/0.008456, allocations: 169 kB / 16.26 MB, free: 6.66 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.737/1.737, allocations: 205.4 MB / 222.5 MB, free: 5.555 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.6227/0.6227, allocations: 95.62 MB / 366.4 MB, free: 10.23 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.001001/0.001002, allocations: 20 kB / 447.5 MB, free: 8.953 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3748/0.3758, allocations: 70.34 MB / 0.5057 GB, free: 16.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.0007023/0.3765, allocations: 289 kB / 0.506 GB, free: 16.06 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005519/0.3771, allocations: 338 kB / 0.5063 GB, free: 15.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.501e-05/0.3771, allocations: 0 / 0.5063 GB, free: 15.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.309e-05/0.3772, allocations: 3.938 kB / 0.5063 GB, free: 15.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.146e-05/0.3772, allocations: 0 / 0.5063 GB, free: 15.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003319/0.3775, allocations: 67.86 kB / 0.5063 GB, free: 15.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.721e-05/0.3776, allocations: 15.92 kB / 0.5064 GB, free: 15.64 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.316e-05/0.3776, allocations: 4 kB / 0.5064 GB, free: 15.64 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.656e-05/0.3777, allocations: 3.984 kB / 0.5064 GB, free: 15.64 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.296e-05/0.3777, allocations: 4 kB / 0.5064 GB, free: 15.63 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.077e-05/0.3777, allocations: 4 kB / 0.5064 GB, free: 15.63 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002956/0.378, allocations: 227.7 kB / 0.5066 GB, free: 15.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.076e-05/0.378, allocations: 4 kB / 0.5066 GB, free: 15.4 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.448e-05/0.3781, allocations: 33.64 kB / 0.5066 GB, free: 15.36 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001486/0.3782, allocations: 91.86 kB / 0.5067 GB, free: 15.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3782, allocations: 0 / 0.5067 GB, free: 15.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3782, allocations: 4 kB / 0.5067 GB, free: 15.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.527e-06/0.3783, allocations: 4 kB / 0.5067 GB, free: 15.27 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.0002556/0.3785, allocations: 331.5 kB / 0.507 GB, free: 14.89 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.3786, allocations: 11.98 kB / 0.5071 GB, free: 14.88 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.759e-05/0.3786, allocations: 4.875 kB / 0.5071 GB, free: 14.88 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.323e-05/0.3787, allocations: 168.3 kB / 0.5072 GB, free: 14.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.3787, allocations: 4.375 kB / 0.5072 GB, free: 14.67 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.217e-05/0.3788, allocations: 7.922 kB / 0.5072 GB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.503e-05/0.3788, allocations: 37.69 kB / 0.5073 GB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.3789, allocations: 0 / 0.5073 GB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.3789, allocations: 0 / 0.5073 GB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.3789, allocations: 4 kB / 0.5073 GB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.793e-05/0.3789, allocations: 0 / 0.5073 GB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001122/0.379, allocations: 155.6 kB / 0.5074 GB, free: 14.42 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.87e-05/0.3791, allocations: 30.48 kB / 0.5074 GB, free: 14.38 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.626e-05/0.3791, allocations: 12.86 kB / 0.5075 GB, free: 14.36 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005638/0.3797, allocations: 465.4 kB / 0.5079 GB, free: 13.82 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.904e-05/0.3797, allocations: 34.56 kB / 0.5079 GB, free: 13.77 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.3797, allocations: 0 / 0.5079 GB, free: 13.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004656/0.3802, allocations: 254.3 kB / 0.5082 GB, free: 13.47 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.961e-05/0.3802, allocations: 51.41 kB / 0.5082 GB, free: 13.41 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.976e-05/0.3803, allocations: 93.84 kB / 0.5083 GB, free: 13.31 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.434e-06/0.3803, allocations: 29.7 kB / 0.5083 GB, free: 13.27 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.732e-05/0.3803, allocations: 88.48 kB / 0.5084 GB, free: 13.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.96e-05/0.3803, allocations: 7.844 kB / 0.5084 GB, free: 13.18 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.789e-05/0.3803, allocations: 9.719 kB / 0.5084 GB, free: 13.16 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.427e-05/0.3804, allocations: 318.8 kB / 0.5088 GB, free: 12.84 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.452e-05/0.3804, allocations: 4 kB / 0.5088 GB, free: 12.84 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.905e-05/0.3804, allocations: 17.7 kB / 0.5088 GB, free: 12.81 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.355e-05/0.3805, allocations: 33.66 kB / 0.5088 GB, free: 12.77 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.3805, allocations: 3.938 kB / 0.5088 GB, free: 12.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.964e-05/0.3806, allocations: 57.53 kB / 0.5089 GB, free: 12.71 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.3806, allocations: 6.031 kB / 0.5089 GB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.3806, allocations: 4 kB / 0.5089 GB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.3806, allocations: 0 / 0.5089 GB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.715e-05/0.3807, allocations: 4 kB / 0.5089 GB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.3807, allocations: 4 kB / 0.5089 GB, free: 12.69 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.375e-05/0.3807, allocations: 0 / 0.5089 GB, free: 12.69 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.421e-06/0.3807, allocations: 3.938 kB / 0.5089 GB, free: 12.69 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 4.42e-05/0.3808, allocations: 125.8 kB / 0.509 GB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.99e-05/0.3808, allocations: 0 / 0.509 GB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.018e-05/0.3809, allocations: 53.12 kB / 0.5091 GB, free: 12.49 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.3809, allocations: 0 / 0.5091 GB, free: 12.49 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.3809, allocations: 0 / 0.5091 GB, free: 12.49 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.3809, allocations: 0 / 0.5091 GB, free: 12.49 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.616e-05/0.381, allocations: 157.6 kB / 0.5092 GB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.381, allocations: 0 / 0.5092 GB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4e-05/0.381, allocations: 12 kB / 0.5092 GB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.381, allocations: 0 / 0.5092 GB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.729e-06/0.381, allocations: 0 / 0.5092 GB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.381, allocations: 3.984 kB / 0.5092 GB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.3811, allocations: 4 kB / 0.5092 GB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001101/0.3812, allocations: 89.11 kB / 0.5093 GB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.893e-05/0.3812, allocations: 81.14 kB / 0.5094 GB, free: 12.07 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.077e-05/0.3812, allocations: 0 / 0.5094 GB, free: 12.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.122e-05/0.3812, allocations: 4.062 kB / 0.5094 GB, free: 12.06 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.323e-05/0.3813, allocations: 3.984 kB / 0.5094 GB, free: 12.06 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-06/0.3813, allocations: 4 kB / 0.5094 GB, free: 12.05 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.671e-05/0.3813, allocations: 75.28 kB / 0.5095 GB, free: 11.98 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3813, allocations: 0 / 0.5095 GB, free: 11.98 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001957/0.3815, allocations: 28 kB / 0.5095 GB, free: 11.95 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 (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.0001426/0.3817, allocations: 119.2 kB / 0.5096 GB, free: 11.83 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.24e-05/0.3817, allocations: 20.14 kB / 0.5096 GB, free: 11.81 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3817, allocations: 0 / 0.5096 GB, free: 11.81 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.285e-05/0.3818, allocations: 15.94 kB / 0.5096 GB, free: 11.79 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001631/0.3819, allocations: 3.938 kB / 0.5096 GB, free: 11.79 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002046/0.3821, allocations: 120.8 kB / 0.5098 GB, free: 11.64 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001387/0.3823, allocations: 0.6731 MB / 0.5104 GB, free: 10.94 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.57e-05/0.3823, allocations: 7.984 kB / 0.5104 GB, free: 10.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.41e-05/0.3823, allocations: 7.5 kB / 0.5104 GB, free: 10.93 MB / 382.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3823, allocations: 4 kB / 0.5104 GB, free: 10.92 MB / 382.1 MB Notification: Performance of Templates: time 0.003406/0.3858, allocations: 0.8187 MB / 0.5112 GB, free: 10.11 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: