Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 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.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.0006761/0.0006759, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.003981/0.003981, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.19/1.19, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.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.323/1.323, allocations: 252 MB / 0.5105 GB, free: 4.676 MB / 414.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.0005058/0.0005059, allocations: 16 kB / 0.6249 GB, free: 0.6992 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3912/0.3917, allocations: 106.3 MB / 0.7287 GB, free: 11.26 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.0006825/0.3925, allocations: 368.4 kB / 0.7291 GB, free: 10.9 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0006508/0.3931, allocations: 365.8 kB / 0.7294 GB, free: 10.54 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.57e-05/0.3932, allocations: 0 / 0.7294 GB, free: 10.54 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.057e-05/0.3932, allocations: 0 / 0.7294 GB, free: 10.54 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.665e-05/0.3932, allocations: 0 / 0.7294 GB, free: 10.54 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004076/0.3936, allocations: 79.22 kB / 0.7295 GB, free: 10.47 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.896e-05/0.3937, allocations: 31.92 kB / 0.7295 GB, free: 10.44 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.855e-05/0.3937, allocations: 4 kB / 0.7295 GB, free: 10.43 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.224e-05/0.3938, allocations: 15.91 kB / 0.7296 GB, free: 10.42 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.674e-05/0.3938, allocations: 15.92 kB / 0.7296 GB, free: 10.4 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.089e-05/0.3938, allocations: 0 / 0.7296 GB, free: 10.4 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003379/0.3942, allocations: 271.7 kB / 0.7298 GB, free: 10.14 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.044e-05/0.3942, allocations: 0 / 0.7298 GB, free: 10.14 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.345e-05/0.3942, allocations: 45.61 kB / 0.7299 GB, free: 10.09 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001546/0.3944, allocations: 99.78 kB / 0.73 GB, free: 9.988 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.3944, allocations: 0 / 0.73 GB, free: 9.988 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.522e-06/0.3944, allocations: 3.938 kB / 0.73 GB, free: 9.984 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.3944, allocations: 4 kB / 0.73 GB, free: 9.98 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003254/0.3948, allocations: 349.5 kB / 0.7303 GB, free: 9.59 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.3948, allocations: 8.031 kB / 0.7303 GB, free: 9.582 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.342e-05/0.3949, allocations: 12.86 kB / 0.7303 GB, free: 9.57 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.395, allocations: 168.2 kB / 0.7305 GB, free: 9.367 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.395, allocations: 8.375 kB / 0.7305 GB, free: 9.359 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.883e-05/0.395, allocations: 384 / 0.7305 GB, free: 9.359 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001143/0.3951, allocations: 54.17 kB / 0.7306 GB, free: 9.301 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.3951, allocations: 4.188 kB / 0.7306 GB, free: 9.297 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.3952, allocations: 7.938 kB / 0.7306 GB, free: 9.289 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.3952, allocations: 4 kB / 0.7306 GB, free: 9.285 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.525e-05/0.3952, allocations: 15.98 kB / 0.7306 GB, free: 9.27 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001498/0.3954, allocations: 165.7 kB / 0.7307 GB, free: 9.059 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.183e-05/0.3955, allocations: 58.56 kB / 0.7308 GB, free: 8.992 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.907e-05/0.3955, allocations: 32.78 kB / 0.7308 GB, free: 8.957 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006463/0.3962, allocations: 461.5 kB / 0.7313 GB, free: 8.414 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.3962, allocations: 34.56 kB / 0.7313 GB, free: 8.371 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.3962, allocations: 4 kB / 0.7313 GB, free: 8.367 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.001164/0.3974, allocations: 0.5875 MB / 0.7319 GB, free: 7.688 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.372e-05/0.3975, allocations: 51.41 kB / 0.7319 GB, free: 7.625 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.918e-05/0.3975, allocations: 105.8 kB / 0.732 GB, free: 7.512 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.3976, allocations: 29.7 kB / 0.7321 GB, free: 7.477 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.358e-05/0.3976, allocations: 92.14 kB / 0.7321 GB, free: 7.383 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.932e-05/0.3976, allocations: 39.39 kB / 0.7322 GB, free: 7.344 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.672e-05/0.3977, allocations: 17.72 kB / 0.7322 GB, free: 7.32 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.956e-05/0.3978, allocations: 318.8 kB / 0.7325 GB, free: 7 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.646e-05/0.3978, allocations: 16 kB / 0.7325 GB, free: 6.984 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.236e-05/0.3978, allocations: 19.98 kB / 0.7325 GB, free: 6.965 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.257e-05/0.3979, allocations: 56.8 kB / 0.7326 GB, free: 6.906 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.3979, allocations: 4 kB / 0.7326 GB, free: 6.902 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001418/0.3981, allocations: 105.6 kB / 0.7327 GB, free: 6.793 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.3981, allocations: 4 kB / 0.7327 GB, free: 6.789 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.3981, allocations: 0 / 0.7327 GB, free: 6.789 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.689e-06/0.3981, allocations: 0 / 0.7327 GB, free: 6.789 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.305e-05/0.3982, allocations: 23.98 kB / 0.7327 GB, free: 6.766 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.3982, allocations: 0 / 0.7327 GB, free: 6.766 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.016e-05/0.3983, allocations: 0 / 0.7327 GB, free: 6.766 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.3983, allocations: 8 kB / 0.7327 GB, free: 6.758 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 13 * 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 0.0001315/0.3984, allocations: 121.8 kB / 0.7328 GB, free: 6.629 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.751e-05/0.3985, allocations: 7.844 kB / 0.7329 GB, free: 6.621 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001658/0.3986, allocations: 105.6 kB / 0.733 GB, free: 6.508 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.3986, allocations: 0 / 0.733 GB, free: 6.508 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.3986, allocations: 96 / 0.733 GB, free: 6.508 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.3987, allocations: 7.938 kB / 0.733 GB, free: 6.5 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003323/0.399, allocations: 358.4 kB / 0.7333 GB, free: 6.094 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.399, allocations: 0 / 0.7333 GB, free: 6.094 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.665e-05/0.3991, allocations: 23.98 kB / 0.7333 GB, free: 6.07 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.624e-06/0.3991, allocations: 4 kB / 0.7333 GB, free: 6.066 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.3991, allocations: 0 / 0.7333 GB, free: 6.066 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3991, allocations: 0 / 0.7333 GB, free: 6.066 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3991, allocations: 0 / 0.7333 GB, free: 6.066 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000228/0.3994, allocations: 227.5 kB / 0.7335 GB, free: 5.828 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.185e-05/0.3994, allocations: 93.03 kB / 0.7336 GB, free: 5.719 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/0.3994, allocations: 4 kB / 0.7336 GB, free: 5.715 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.442e-05/0.3995, allocations: 4 kB / 0.7336 GB, free: 5.711 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.053e-05/0.3996, allocations: 16.05 kB / 0.7337 GB, free: 5.695 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.3996, allocations: 0 / 0.7337 GB, free: 5.695 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.143e-05/0.3996, allocations: 83.27 kB / 0.7337 GB, free: 5.613 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.91e-07/0.3996, allocations: 0 / 0.7337 GB, free: 5.613 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002469/0.3999, allocations: 40 kB / 0.7338 GB, free: 5.574 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.0002328/0.4001, allocations: 139.2 kB / 0.7339 GB, free: 5.43 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000124/0.4002, allocations: 71.84 kB / 0.734 GB, free: 5.359 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.4002, allocations: 0 / 0.734 GB, free: 5.359 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.349e-05/0.4003, allocations: 39.92 kB / 0.734 GB, free: 5.32 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002119/0.4005, allocations: 8 kB / 0.734 GB, free: 5.312 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002947/0.4008, allocations: 199.3 kB / 0.7342 GB, free: 5.09 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002052/0.401, allocations: 0.6848 MB / 0.7349 GB, free: 4.379 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.361e-05/0.4011, allocations: 12.3 kB / 0.7349 GB, free: 4.367 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.57e-05/0.4011, allocations: 15.42 kB / 0.7349 GB, free: 4.352 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.4011, allocations: 4 kB / 0.7349 GB, free: 4.348 MB / 0.545 GB Notification: Performance of Templates: time 0.003297/0.4044, allocations: 1.37 MB / 0.7362 GB, free: 3.016 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) Environment - environmentSimulation: